From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12467 invoked by alias); 7 Apr 2012 23:03:43 -0000 Received: (qmail 12457 invoked by uid 22791); 7 Apr 2012 23:03:42 -0000 X-SWARE-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ob0-f175.google.com (HELO mail-ob0-f175.google.com) (209.85.214.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 07 Apr 2012 23:03:30 +0000 Received: by obbuo13 with SMTP id uo13so4828062obb.20 for ; Sat, 07 Apr 2012 16:03:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.3.34 with SMTP id 2mr3603375oez.27.1333839809702; Sat, 07 Apr 2012 16:03:29 -0700 (PDT) Received: by 10.182.92.168 with HTTP; Sat, 7 Apr 2012 16:03:29 -0700 (PDT) In-Reply-To: <87r4vzrvzl.fsf@catnip.gol.com> References: <4F7D5EB4.2060903@redhat.com> <4F80C2A6.7030007@gmail.com> <87r4vzrvzl.fsf@catnip.gol.com> Date: Sat, 07 Apr 2012 23:03:00 -0000 Message-ID: Subject: Re: RFC: -Wall by default From: Gabriel Dos Reis To: Miles Bader Cc: Dave Korn , Richard Guenther , Pedro Alves , gcc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2012-04/txt/msg00234.txt.bz2 On Sat, Apr 7, 2012 at 5:57 PM, Miles Bader wrote: > Dave Korn writes: >> =A0 IMHO we should move the -Wunused ones into -Wextra if we're going to= turn on >> -Wall by default. =A0The rest seem pretty reasonable defaults to me. > > How about instead adding new "-Wstandard", which will be on by default, > and keeping -Wall / -Wextra the same (so as to not _remove_ warnings for > people that currently use -Wall). In the end, a new option might probably be a good compromise even if I dislike the proliferation of options. Thanks, -- Gaby