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: DR handling for C++


On Tue, 21 Sep 2004, Paolo Bonzini wrote:

> > The name pedwarn() has been a bit confusing (because it suggests a link to
> > -pedantic which isn't really there, the link being that -pedantic-errors
> > turns pedwarns from warnings to errors), but I don't have a good suggestion
> > for a less confusing name.
> 
> -pedantic-errors is itself not very well named... maybe -Wextra-errors or
> something like that would be more suited now that -W has become -Wextra.

-Wextra-errors sounds like it turns the messages from -Wextra into errors.  
(The regular form for that in line with other similar options would be 
-Werror-extra - and any general warning control scheme would probably lead 
to such options corresponding to each warning option - but -Wextra-errors 
still sounds too similar to -Werror-extra.)

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
  http://www.srcf.ucam.org/~jsm28/gcc/#c90status - status of C90 for GCC 4.0
    jsm@polyomino.org.uk (personal mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)


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