<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
</head><body style="">
<div>
<br/>Sven Barth <pascaldragon@googlemail.com> hat am 13. September 2012 um 11:15 geschrieben:
<br/>> Am 13.09.2012 11:00, schrieb Mattias Gaertner:
<br/>> >
<br/>> > Sven Barth <pascaldragon@googlemail.com> hat am 13. September 2012 um
<br/>> > 10:06 geschrieben:
<br/>> > > Am 12.09.2012 23:38, schrieb Mattias Gaertner:
<br/>> > > >> eg: Try to compile LCL-GTK2 with -CRrt enabled.
<br/>> > > >>
<br/>> > > >>
<br/>> > > >>
<br/>> > /home/graemeg/devel/lazarus/lcl/interfaces/gtk2/gtk2wsbuttons.pp(237,35)
<br/>> > > >> Error: Class or Object types "TCustomBitBtn" and
<br/>> > "TWinControlAccess" are
<br/>> > > >> not related
<br/>> > > >
<br/>> > > > That's the old style class helper. Not usable with -CT.
</div>
<div>
</div>
<div>
I meant -CR
</div>
<div>
<br/>
<br/>> > > Since Lazarus requires 2.6.0 anyway one could change that to use normal
<br/>> > > class helpers:
<br/>> > The IDE needs 2.6.0. The LCL only needs 2.4.2.
<br/>>
<br/>> But one could already prepare it using ifdefs. This way (if one does it
<br/>> consequently) the LCL could be compiled using -CT at least using 2.6.0+ . :)
<br/>
<br/>
</div>
<div>
Accessing a private variable from outside is a hack. No matter how you do it.
</div>
<div>
I replaced the hack.
</div>
<div>
</div>
<div>
Mattias
</div>
<div>
</div>
</body></html>