[fpc-devel] Re: Class field reordering
Marco van de Voort
marcov at stack.nl
Sun Jul 22 13:23:50 CEST 2012
In our previous episode, Martin Schreiber said:
> > I don't think it's the best. I'm also quite sure it will require more work
> > from you in the long run, keeping them up to date and merging bug fixes and
> > new features from FPC back into your fork.
> >
> I doubt it, the experience shows the opposite. :-)
>
> > > 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.
> >
> So classes.pp except for TObject is safe?
Afaik yes. Exception is in sysutils (magic too ?), tobject is in objpas.
The only thing to watch is the {$M+} around TPersistent.
More information about the fpc-devel
mailing list