[fpc-devel] Patch #31249 and objects

Sven Barth pascaldragon at googlemail.com
Tue Jan 31 14:56:19 CET 2017


Am 31.01.2017 12:37 schrieb "Maciej Izak" <hnb.code at gmail.com>:
>
> Hi,
>
> Somehow my patch #31249 was ignored. Could someone from core team look at
:
>
> http://bugs.freepascal.org/view.php?id=31249
> http://bugs.freepascal.org/view.php?id=31305
>
> patch and reported bug is very important. I can't update mORMot for
newest FPC RTTI without changing all objects to records (which is possible
in this case but still we have serious bug)... -,-.

I "ignored" it, cause up to now it was merely a performance improvement. If
you had added your info from 31305 to 31249 instead of creating a new
report then I might have reacted faster.

Anyway, I'll try to get it applied tonight.

PS: If you adjust mORMot then I highly suggest you not to use custom
records/objects, but the typinfo ones as much as possible as they deal with
alignment issues correctly (especially the new types of the interface
RTTI). Or at least use the typinfo types to retrieve pointers to the
correct parts of the RTTI and store those instead of using inc()s to
navigate the RTTI.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20170131/fe08a672/attachment.html>


More information about the fpc-devel mailing list