[Lazarus] range check errors in LCL packages

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Sep 13 11:47:31 CEST 2012


Sven Barth <pascaldragon at googlemail.com> hat am 13. September 2012 um 11:15
geschrieben:
> 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.

I meant -CR


> > > 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+ . :)

Accessing a private variable from outside is a hack. No matter how you do it.
I replaced the hack.

Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120913/36c5cd9d/attachment-0003.html>


More information about the Lazarus mailing list