------- Comment #3 from joseph at codesourcery dot com 2010-07-02 01:22 ------- Subject: Re: -Werror=edantic
On Thu, 1 Jul 2010, manu at gcc dot gnu dot org wrote: > We also should add a -Wpedantic-default (or -Wpedantic-required) for pedwarns > enabled by default (not by -pedantic). Those would be extremely bad option names, since diagnostics enabled by default have nothing to do with pedantry; "pedwarn" is simply a GCC-internal function name for diagnosing constraint violations and should not be allowed to influence command-line option names. -pedantic-errors means something like -Werror=standard-required-diagnostics and a pedwarn enabled by default is a standard-required diagnostic enabled by default (as opposed to a warning enabled by default which is a non-standard-required diagnostic enabled by default). There is no particular reason to allow people to disable standard-required default diagnostics as a group separately from non-standard-required ones; think about more useful classifications of the existing enabled-by-default diagnostics to work out suitable option names for disabling them. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44774