Re: Is it time to take the middle-end stringop/array warnings out of -Wall?

Richard Biener via Gcc <[email protected]>
Newsgroups gmane.comp.gcc.devel
Message-ID <[email protected]>

> Am 20.05.2026 um 23:11 schrieb Martin Uecker via Gcc <[email protected]>:
> 
> Am Mittwoch, dem 20.05.2026 um 19:50 +0200 schrieb Eric Botcazou:
>>> I'd tend to prefer moving to -Wextra.  Though I suspect they'll bitrot
>>> over time in there :(  I've seen them find real issues, but I think it's
>>> reasonably clear that they're causing more pain than they're solving.
>> 
>> FWIW that's also my experience.
> 
> I sometimes find them useful (in C, C++ might be affected differently).
> 
> I also observe that people invent entirely new languages which are much
> stricter and which fail hard for things which would be considered
> false positives, so keeping them at least in -Wextra would seem
> appropriate to me.

It seems to be a reasonable, if intermediate step.

Richard 

> 
> Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.