Gene Buckle via fpc-pascal <[email protected]> schrieb am Fr., 16. Okt. 2026, 16:42:
> I've started working with FPC again after a VERY long hiatus (like 15+ > years!) and the application I'm working on uses TObjectCollection from > the Generics.Collection unit. > > When compiling I get the following warnings from generics.dictionaries > and I was wondering why that is happening - I'd have thought that "base" > units would always compile cleanly. I know I can filter them out in > Lazarus, but I would rather not if it can be avoided on the assumption > that warnings are warnings for a *reason*. :) > 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. 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. Regards, Sven >
_______________________________________________ fpc-pascal maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
