Sign in Join

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

Mailing lists / lazarus / 2011-10

Cannot compile trunk

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Leonardo M. Ramé

Hi, I'm trying to compile Trunk with fpc 2.7.1 (also from trunk), and I'm getting this while trying to do a "make clean all":

lconvencoding.pas(6123,8) Hint: Conversion between ordinals and pointers is not portable lconvencoding.pas(6163,8) Hint: Conversion between ordinals and pointersis not portable paswstring.pas(368,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(369,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(407,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(408,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(421) Fatal: There were 4 errors compiling module, stopping Fatal: Compilation aborted
make[1]: *** [lazutils.ppu] Error 1
make[1]: se sale del directorio
?/home/leonardo/Desarrollo/lazarus/components/lazutils? make: *** [lazutils] Error 2

Reply by email

Leonardo M. Ramé
to Leonardo M. Ramé
Leonardo M. Ram? wrote 20 lines
Hi, I'm trying to compile Trunk with fpc 2.7.1 (also from trunk), and I'm getting this while trying to do a "make clean all": lconvencoding.pas(6123,8) Hint: Conversion between ordinals and pointers is not portable lconvencoding.pas(6163,8) Hint: Conversion between ordinals and pointersis not portable paswstring.pas(368,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(369,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(407,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(408,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(421) Fatal: There were 4 errors compiling module, stopping Fatal: Compilation aborted make[1]: *** [lazutils.ppu] Error 1 make[1]: se sale del directorio ?/home/leonardo/Desarrollo/lazarus/components/lazutils? make: *** [lazutils] Error 2

I had to revert to rev 32966 to compile it successfully.

Reply by email