[Lazarus] Lazarus 1.2 not compiling with FPC 3.0.1

Anthony Walter sysrpl at gmail.com
Sun Jan 11 04:20:02 CET 2015


There was a recent announcement on the free pascal mailing list that a new
3.0 branch of the FPC was committed to svn.

I decided to checkout a copy of the branch and using it with the latest
official release of Lazarus, which I believe is 1.2.

The problem is I get errors when I "make all" on Lazarus 1.2.

Here are the svn repositories I checked out:

http://svn.freepascal.org/svn/fpc/branches/fixes_3_0
http://svn.freepascal.org/svn/lazarus/branches/fixes_1_2

Here is a listing of the "make all" output:

make -C packager/registration
make[1]: Entering directory
`/home/delluser/Development/Base/lazarus/packager/registration'
/bin/rm -f ../units/x86_64-linux/fcllaz.ppu
/home/delluser/Development/Base/fpc/bin/ppcx64 -MObjFPC -Scghi -O1 -g -gl
-vewnhi -l -Fu. -FE. -FU../units/x86_64-linux -Cg -dx86_64 fcllaz.pas
Hint: Start of reading config file
/home/delluser/Development/Base/fpc/bin/fpc.cfg
Hint: End of reading config file
/home/delluser/Development/Base/fpc/bin/fpc.cfg
Free Pascal Compiler version 3.0.1 [2015/01/10] for x86_64
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling fcllaz.pas
fcllaz.pas(10,16) Hint: Unit "db" not used in fcllaz
fcllaz.pas(10,40) Hint: Unit "eventlog" not used in fcllaz
fcllaz.pas(10,50) Hint: Unit "XMLConf" not used in fcllaz
21 lines compiled, 0.1 sec
5 hint(s) issued
/bin/cp -f Makefile.compiled ../units/x86_64-linux/FCL.compiled
make[1]: Leaving directory
`/home/delluser/Development/Base/lazarus/packager/registration'
make -C components/lazutils
make[1]: Entering directory
`/home/delluser/Development/Base/lazarus/components/lazutils'
/bin/rm -f lib/x86_64-linux/lazutils.ppu
/home/delluser/Development/Base/fpc/bin/ppcx64 -MObjFPC -Scghi -O1 -g -gl
-vewnhi -l -Fu../../packager/units/x86_64-linux -Fu. -FE.
-FUlib/x86_64-linux -Cg -dx86_64 lazutils.pas
Hint: Start of reading config file
/home/delluser/Development/Base/fpc/bin/fpc.cfg
Hint: End of reading config file
/home/delluser/Development/Base/fpc/bin/fpc.cfg
Free Pascal Compiler version 3.0.1 [2015/01/10] for x86_64
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling lazutils.pas
Compiling paswstring.pas
paswstring.pas(379,43) Error: Incompatible types: got "<address of
procedure(PWideChar;var AnsiString;Int64);Register>" expected
"TUnicodeStringManager.<procedure variable type of procedure(PWideChar;var
RawByteString;Word;Int64);Register>"
paswstring.pas(380,43) Error: Incompatible types: got "<address of
procedure(PChar;var WideString;Int64);Register>" expected
"TUnicodeStringManager.<procedure variable type of procedure(PChar;Word;var
WideString;Int64);Register>"
paswstring.pas(418,46) Error: Incompatible types: got "<address of
procedure(PWideChar;var AnsiString;Int64);Register>" expected
"TUnicodeStringManager.<procedure variable type of
procedure(PUnicodeChar;var RawByteString;Word;Int64);Register>"
paswstring.pas(419,46) Error: Incompatible types: got "<address of
procedure(PChar;var UnicodeString;Int64);Register>" expected
"TUnicodeStringManager.<procedure variable type of procedure(PChar;Word;var
UnicodeString;Int64);Register>"
paswstring.pas(433) Fatal: There were 4 errors compiling module, stopping
Fatal: Compilation aborted
make[1]: Leaving directory
`/home/delluser/Development/Base/lazarus/components/lazutils'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150110/ad45e773/attachment-0002.html>


More information about the Lazarus mailing list