[Lazarus] range check errors in LCL packages

Sven Barth pascaldragon at googlemail.com
Thu Sep 13 11:15:28 CEST 2012


Am 13.09.2012 11:00, schrieb Mattias Gaertner:
>
> Sven Barth <pascaldragon at googlemail.com> hat am 13. September 2012 um
> 10:06 geschrieben:
>  > Am 12.09.2012 23:38, schrieb Mattias Gaertner:
>  > >> 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
>  > >
>  > > That's the old style class helper. Not usable with -CT.
>  >
>  > Since Lazarus requires 2.6.0 anyway one could change that to use normal
>  > class helpers:
> The IDE needs 2.6.0. The LCL only needs 2.4.2.

But one could already prepare it using ifdefs. This way (if one does it 
consequently) the LCL could be compiled using -CT at least using 2.6.0+ . :)

Regards,
Sven





More information about the Lazarus mailing list