This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: question regarding new warning


> 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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]