Am 01.03.2016 23:44 schrieb "Maciej Izak" <[email protected]>:
>
> 2016-03-01 23:20 GMT+01:00 Michael Van Canneyt <[email protected]>:
>>
>>
>> Please report this in the bugtracker.
>
>
> Done, patch attached
>
> http://bugs.freepascal.org/view.php?id=29767

This is by design and your patch would break existing code anyway.

The init RTTI contains merely those fields that need initialization (namely
interfaces, strings and dynamic arrays) and which is used for the
fpc_initialize(), fpc_finalize() and fpc_assign() helpers while the full
RTTI contains all typed, even those that don't need initialization. Please
note that not all types need a separate init RTTI (e.g. classes), but
records do (this is determined by needs_separate_init_rtti that each def
overrides).

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

Reply via email to