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

Sven Barth pascaldragon at googlemail.com
Thu Dec 22 16:43:37 CET 2011


Am 22.12.2011 16:28, schrieb Ludo Brands:
>     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.

And LATEST(!!) trunk.

Regards,
Sven





More information about the Lazarus mailing list