[Lazarus] range check errors in LCL packages

Martin lazarus at mfriebe.de
Wed Sep 12 17:13:07 CEST 2012


On 12/09/2012 16:02, Graeme Geldenhuys wrote:
>
> eg:  Try to compile LCL-GTK2 with -CRrt enabled.
>
>
> /home/graemeg/devel/lazarus/lcl/interfaces/gtk2/gtk2wsbuttons.pp(237,35) 
> Error: Class or Object types "TCustomBitBtn" and "TWinControlAccess" 
> are not related
>
>
> LCL-CustomDrawn compiles, but all apps give Segmentation Faults at 
> runtime.

-CR

does not work by design. The LCL interfaces use classes that 
intentionally need those typecasts...  (not sure if all of them, but 
certainly some of them)

The details are from before my time, so don't ask me for the details.




More information about the Lazarus mailing list