[fpc-pascal] Unexpected warning messages...
Mattias Gaertner
nc-gaertnma at netcologne.de
Sat Oct 17 22:45:21 CEST 2026
On 10/17/26 19:16, Gene Buckle via fpc-pascal wrote:
> [...]
> I don't understand why they're being compiled all the time - is this a
> Lazarus thing? AFAIK, the only time an RTL unit should *ever* be
> recompiled is if the source changes.
The rtl unit is not recompiled. The generic code is compiled to a
specialize.
Of course it would be nice if the specialization can be compiled without
hints and warnings.
> The filters (Lazarus 4.8) don't work well as filtering for "...never
> used" in generics.collections.pas never works; they're always displayed.
Hmm, I wonder what would be a good filter to hide such hints/warnings.
>> 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.
>>
> They're problematic for *me* by spamming the Messages window with junk I
> don't need to see which makes the things I NEED to see difficult to find.
+1
Mattias
More information about the fpc-pascal
mailing list