[fpc-pascal] Duplicate RTLs
Marco van de Voort
marcov at stack.nl
Thu Jul 2 10:32:06 CEST 2015
In our previous episode, Adriaan van Os said:
> Marco van de Voort wrote:
> > Also RTTI like class info (not used over typinfo unit) like IS, AS, .InheritsFrom?
> > IOW Objecttype identity operations.
> Thanks for the info. I suggest to document this somewhere. But I am not
> (in my own code projects) using RTTI, class info, FPC memory allocation,
> reference counted types, exception catching or global variables. Which
> explains that I never got in trouble there.
Note various to/from string and date types use locale info that is also
duplicated. Basically everything that uses RTL state + anything that uses
compiler generated tables. (there is two times RTL state and there can be
two copies of those compiler tables).
Some of it is somewhat documented on
specially the "What do we need them for? What's "special" about packages?"
More information about the fpc-pascal