PR 30437 [4.0/4.1/4.2/4.3 Regression] -Wno-all is rejected (try 2)

Steve Kargl sgk@troutmask.apl.washington.edu
Thu Jan 25 23:16:00 GMT 2007


On Thu, Jan 25, 2007 at 11:58:44PM +0100, FX Coudert wrote:
> >I see that you committed this change without approval
> >from a fortran maintainer nor approval from someone
> >with global write privileges.
> 
> So, Steve, would you mind explaining a bit your statement about  
> "incorrect and uncesseray"? It's not a trap or a trick question, I  
> just don't understand what you can mean by that.
> 

The opposite of -Wall is simply to not include it on the command line.
-Wall is a meta-option that turns on a large set of Warning options.
If you don't want that large set of option then remove -Wall from 
CFLAGS (or FFLAGS or CXXFLAGS or ...)

The proper fix for GCC would have been to add RejectNegative to
all other frontend and common.opt.

-- 
Steve



More information about the Gcc-patches mailing list