From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7771 invoked by alias); 2 Jul 2010 01:23:12 -0000 Received: (qmail 7727 invoked by alias); 2 Jul 2010 01:22:55 -0000 Date: Fri, 02 Jul 2010 01:23:00 -0000 Message-ID: <20100702012255.7726.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/44774] -Werror=edantic In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "joseph at codesourcery dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-07/txt/msg00144.txt.bz2 ------- 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