On Tue, 1 Mar 2016, Maciej Izak wrote:

2016-03-01 20:35 GMT+01:00 Maciej Izak <[email protected]>:

when "TypeInfo" is used for managed record, then RTTI data for those
record is stored twice into executable file (useless). Should I report this
as bug? Maybe is some reason for that behavior? Example code to generate
extra RTTI bytes:


Seems right. Mhm. TypeInfo implicitly adds RTTI for RTTI table. Example
TFoo record symbols (rtti mangled name) generated by attached above code:

INIT_$P$TEST_$$_TFOO
RTTI_$P$TEST_$$_TFOO

By default (without using TypeInfo) is generated INIT_$P$TEST2_$$_TFOO

Please report this in the bugtracker.

Michael.
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to