<?xml version="1.0" encoding="utf-16"?><html><head><style type="text/css"><!--blockquote.cite2
{margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right: 0px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); margin-top: 3px; padding-top: 0px;}
body
{font-family: Tahoma; font-size: 12pt;}
--></style></head><body><div>The inc()s were needed due to alignment issues with the previous RTTI implementation !</div><div>I indeed also wish for them to be not necessary anymore.</div><div><br /></div><div><br /></div>
<div>------ Origineel bericht ------</div>
<div>Van: "Sven Barth" <<a href="mailto:pascaldragon@googlemail.com">pascaldragon@googlemail.com</a>></div>
<div>Aan: "FPC developers' list" <<a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>></div>
<div>Verzonden: 31-1-2017 14:56:19</div>
<div>Onderwerp: Re: [fpc-devel] Patch #31249 and objects</div><div><br /></div>
<div id="x3efa270df0324e5"><blockquote cite="CAFMUeB8CV1PUE77Z37HBS2arz0YL68XWLzhEX6p3PbV=RpZH9Q@mail.gmail.com" type="cite" class="cite2">
<p>Am 31.01.2017 12:37 schrieb "Maciej Izak" <<a href="mailto:hnb.code@gmail.com">hnb.code@gmail.com</a>>:<br />
><br />
> Hi,<br />
><br />
> Somehow my patch #31249 was ignored. Could someone from core team look at :<br />
><br />
> <a href="http://bugs.freepascal.org/view.php?id=31249">http://bugs.freepascal.org/view.php?id=31249</a><br />
> <a href="http://bugs.freepascal.org/view.php?id=31305">http://bugs.freepascal.org/view.php?id=31305</a><br />
><br />
> 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)... -,-. </p>
<p>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.</p>
<p>Anyway, I'll try to get it applied tonight.</p>
<p>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.</p>
<p>Regards,<br />
Sven</p>
</blockquote></div>
</body></html>