On 17/04/2010 20:01, Erwin van den Bosch wrote:
I can't compile Lazarus anymore. (current svn trunk revision 24680)
I use> make clean all bigide
On opensuse 11.1 X86_64 and I use gtk2 widgets, fpc 2.4.0
This is the error output:
Compiling synhighlighterlfm.pas
synhighlighterlfm.pas(720,13) Error: Illegal type conversion: "^untyped"
to "<enumeration type>"
synhighlighterlfm.pas(740) Fatal: There were 1 errors compiling module,
stopping
Fatal: Compilation aborted
make[2]: *** [allsyneditunits.ppu] Fout 1
make[2]: Map '/home/erwin/fpc/lazarus/components/synedit' wordt verlaten
make[1]: *** [synedit_all] Fout 2
make[1]: Map '/home/erwin/fpc/lazarus/components' wordt verlaten
make: *** [components] Fout 2
Revision 24621 compiles fine. Revision 24622 and above gives this error.
The line
Result := TLfmCodeFoldBlockType(p);
should probably be:
Result := TLfmCodeFoldBlockType(PtrUInt(p));
but it is interesting that neithe 2.4.0. nor 2.5.1 say anything about it
here. Not even a a warning. Makes it hard to spot those oversights.....
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus