[fpc-devel] Re: Class field reordering

Joost van der Sluis joost at cnoc.nl
Sun Jul 22 13:11:52 CEST 2012


On Sun, 2012-07-22 at 12:53 +0200, Jonas Maebe wrote:
> On 22 Jul 2012, at 12:40, Martin Schreiber wrote:
> > AFAIK TObject is the only class which depends on compiler magic? Are there 
> > other classes which can not be duplicated?
> 
> Pretty much anything in the system and dialect units (objpas, macpas, objc, iso7185) is/can be(come) tightly bound to the compiler. The rest should be safe.

There are more, like typinfo. In fact you could copy that one, but when
the underlying rtti-information generated by the compiler changes...

Joost.




More information about the fpc-devel mailing list