<div dir="auto"><div><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Gene Buckle via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>> schrieb am Fr., 16. Okt. 2026, 16:42:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've started working with FPC again after a VERY long hiatus (like 15+ <br>
years!) and the application I'm working on uses TObjectCollection from <br>
the Generics.Collection unit.<br>
<br>
When compiling I get the following warnings from generics.dictionaries <br>
and I was wondering why that is happening - I'd have thought that "base" <br>
units would always compile cleanly. I know I can filter them out in <br>
Lazarus, but I would rather not if it can be avoided on the assumption <br>
that warnings are warnings for a *reason*. :)<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">The assumption that base units compile cleanly is not true. Normally you don't notice it however cause they're pre-compiled. Exceptions are inlined routines and generic specializations cause they're both processed inside the unit they're used in. </div><div dir="auto"><br></div><div dir="auto">There isn't really something you can do and in this case they aren't problematic either. In the development version these messages have been reduced. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>