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. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel