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

Joseph Myers via Gcc <[email protected]>
Newsgroups gmane.comp.gcc.devel
Message-ID <[email protected]>
On Wed, 20 May 2026, Arsen Arsenović wrote:

> A lot of people use -Wextra, so moving the warning into -Wextra alone
> would have insufficient effect IMO.

The point is that if using -Wextra, you should expect some warnings that 
are "hard to avoid ... no simple way to modify the code to suppress the 
warning" (whereas such warnings are outside the documented scope of 
-Wall).

-- 
Joseph S. Myers
[email protected]
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.