Sven Barth <[email protected]> hat am 13. September 2012 um 11:15 geschrieben: > Am 13.09.2012 11:00, schrieb Mattias Gaertner: > > > > Sven Barth <[email protected]> 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
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
