[DUG] D2007 to XE2 conversion notes

Peter Hyde peter at webcentre.co.nz
Tue Jan 17 11:44:55 NZDT 2012


Hello Joylon:

> Where is this clear "default is false" indication in the docs ?

Under the Code Generation settings in help.

> RTTI generation has always been "off" by default (as a project wide setting), unless a class
> extends a type for which RTTI was previously enabled. But I can't find any reference to
> _extended_ RTTI being disabled by default.

Forgive me, I do not recall mention of the word _extended_ (with or without emphasis) in your
original post (below). I got the impression you believed RTTI per se is turned on by default.

> It's not what it's stored as, it's simply how much of it there is.
> iirc where-as in the past RTTI was generated and stored for only
> published properties, RTTI is now generated and stored for pretty much
> *everything* (by default). If you aren't using the RTTI I believe you
> can turn this behaviour off, or fine tune it to an extent, but I don't
> recall off-hand the particular incantations to achieve this

> imho this sort of change should be opt-IN, not opt-OUT.

cheers,
peter




More information about the Delphi mailing list