question regarding new warning

Thomas Preud'homme thomas.preudhomme@arm.com
Thu Mar 27 08:22:00 GMT 2014


> From: Andrew Haley [mailto:aph@redhat.com]
> 
> The trouble with warnings like this is that they trigger far too
> frequently on good (i.e. correct, reasonable, just as the programmer
> intended) code.  They bring warnings into disrepute.  They also cause
> people to do extra work just to shut the compiler up, and this often
> IME leads to inadvertent code breakage.

Sure, I would be again enabling it by default. This means it should *not* be enabled by Wall or even Wextra.

Best regards,

Thomas Preud'homme





More information about the Gcc mailing list