Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2010-04

Re: Changes in 2.4.0

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

Hallo,

Mar 30, Mar 30, Michael Van Canneyt wrote to

MVC > You must use -S2 or -Sd to see them. Or put {$mode objfpc} or {$mode MVC > delphi}
MVC > in your sources.

I tried all the hints I got. But still no luck.
In all my sources include at the beginning:
{
 	Compiler options
}
{$mode ObjFPC}
{$M 8192,0,655360}
{$I-,H+}
{$IFDEF Testing}
 	{$D+,L+,R+}
{$ELSE}
 	{$D-,L-,R-}
{$ENDIF}

And in my compile batch I have:
fpc -vw -Fi~/amc/src -FE../bin -Fu~/pascal/units -FU./ amc

When I try to copileis tells me:
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Linux for i386
Compiling amc.pp
amc_directives.inc(16,3) Warning: Unsupported switch "$L" Compiling amc_global.pp
amc_directives.inc(16,3) Warning: Unsupported switch "$L" Writing Resource String Table file: amc_global.rst Compiling amc_init.pp
amc_directives.inc(16,3) Warning: Unsupported switch "$L" Compiling amc_gettext.pp
amc_directives.inc(16,3) Warning: Unsupported switch "$L" amc_gettext.pp(89,3) Note: Local variable "s" not used amc_gettext.pp(245,40) Error: Identifier not found "ResourceStringTableCount" amc_gettext.pp(247,33) Error: Identifier not found "ResourceStringCount" amc_gettext.pp(250,57) Error: Identifier not found "GetResourceStringDefaultValue" amc_gettext.pp(251,30) Error: Identifier not found "GetResourceStringHash" amc_gettext.pp(254,31) Error: Identifier not found "SetResourceStringValue" amc_gettext.pp(313) Fatal: There were 5 errors compiling module, stopping Fatal: Compilation aborted
Error: /usr/local/bin/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled) Compilation failed!

I'm still stuck. Who can tell me what's wrong?

Hans.

J.D.H. Beekhuizen
e-mail:
tel: +31(71)4015437
fax: +31(71)4017198

Reply by email

Unknown author
to Jonas Maebe

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Jonas,

Friday, Apr 23, Jonas Maebe wrote to FPC-Pascal users discussions about Re:...:

JM > > I'm still stuck. Who can tell me what's wrong? JM > Without a self-contained compilable example that demonstrates the problem: JM > probably nobody.

You are probably right. I was just hoping that in my first message I gave enough information or somebody to recognise the problem and think: "hey, I know this one and this is how I solve it". I will make an example, but it is some work: I have to go through a lot of code to do so, and often have to leave my computer .\

Regards,

Hans.

e-mail:
tel: +31(71)4015437
fax: +31(71)4017198

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAkvVnTUACgkQLfImQU9wLUpgXgCgkfyD0LFsjApZyJYhFZSWFSl7 NhsAn3FQRz4MpLDRpO5mcGUQORycFEwP
=Cin6
-----END PGP SIGNATURE-----

Reply by email