[Lazarus] RE : Error compiling trunk version 34361 on win64

Ludo Brands ludo.brands at free.fr
Thu Dec 22 16:28:53 CET 2011


 

The following error occurred when compiling current trunk version (34361) on
win64, issued as: make bigide OPT="-dUseCHMHelp"
 
Compiling lazregions.pas
lazregions.pas(39,37) Error: Identifier not found "TFPCustomRegion"
lazregions.pas(39,37) Error: class type expected, but got "<erroneous type>"
lazregions.pas(52,14) Error: There is no method in an ancestor class to be
overr
idden: "TLazRegion.GetBoundingRect:<record type>;"
lazregions.pas(53,14) Error: There is no method in an ancestor class to be
overr
idden: "TLazRegion.IsPointInRegion(LongInt,LongInt):Boolean;"
lazregions.pas(69,14) Warning: An inherited method is hidden by
"TLazRegionWithC
hilds.IsPointInRegion(LongInt,LongInt):TLazRegionWithChilds;"
lazregions.pas(74,1) Fatal: There were 4 errors compiling module, stopping
Fatal: Compilation aborted
make[1]: *** [alllclunits.ppu] Error 1
make[1]: Leaving directory `D:/lazarus/lcl'
make: *** [lcl] Error 2
 
Using FPC 2.7.1
 

In lazregions.pas there are several ifdef's on the fpc version that go upto
2.6. Since you use 2.7.1 they fail. Add 2.7 to the ifdefs or use fpc 2.4.4/
2.6.0.  Officially lazarus compiles only what latest fpc release version.
 
Ludo
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20111222/4e920bdb/attachment-0003.html>


More information about the Lazarus mailing list