This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

Please add {$RTTI EXPLICIT METHODS([]) PROPERTIES([]) FIELDS([])} to LMDCmps.inc

edited December 2014 in LMD ElPack
I think Elpack/LMD-Comps doesn't use Extended RTTI in the are where it is added implicit.

So we can make the created Exe (for us with XE6) about 1/2 MB smaller by setting this in above inc-File

Comments

  • Hi,

    Are you sure? Delphi documentation says that $RTTI directive is applicable to specific class or record only:

    The $RTTI directive is used to control the amount of extended RTTI (Run-Time Type Information) information that is emitted for a class or record type. The basic idea is to give the developer the power to selectively enable or disable extended RTTI for certain class or record members.

  • Forget this post. I see you already have this option set

    {$IFDEF LMDCOMP14}
      {$RTTI EXPLICIT METHODS([]) PROPERTIES([]) FIELDS([])}
    {$ENDIF}
Sign In or Register to comment.