From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3098 invoked by alias); 19 Oct 2012 16:18:10 -0000 Received: (qmail 3087 invoked by uid 22791); 19 Oct 2012 16:18:07 -0000 X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 19 Oct 2012 16:18:02 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1TPFGr-0000t4-DO from joseph_myers@mentor.com ; Fri, 19 Oct 2012 09:18:01 -0700 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Fri, 19 Oct 2012 09:18:01 -0700 Received: from digraph.polyomino.org.uk (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.1.289.1; Fri, 19 Oct 2012 17:17:59 +0100 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.76) (envelope-from ) id 1TPFGo-0002Ds-3I; Fri, 19 Oct 2012 16:17:58 +0000 Date: Fri, 19 Oct 2012 16:22:00 -0000 From: "Joseph S. Myers" To: =?ISO-8859-1?Q?Manuel_L=F3pez=2DIb=E1=F1ez?= CC: Gcc Patch List Subject: Re: PR c/53063 Handle Wformat with LangEnabledBy In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="-1152306461-1775162167-1350663478=:4249" Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2012-10/txt/msg01816.txt.bz2 ---1152306461-1775162167-1350663478=:4249 Content-Type: text/plain; charset="X-UNKNOWN" Content-Transfer-Encoding: QUOTED-PRINTABLE Content-length: 500 On Wed, 17 Oct 2012, Manuel L=F3pez-Ib=E1=F1ez wrote: > documentation but I can also implement -Wformat=3D0 being an alias for > -Wno-format and -Wformat=3D1 an alias for -Wformat and simply reject > -Wno-format=3D. I think that's what's wanted; -Wno-format=3D should be rejected, -Wformat= =3D=20 should take an arbitrary integer level (of which at present all those=20 above 2 are equivalent to 2, just as -O for n > 3 is equivalent to=20 -O3). --=20 Joseph S. Myers joseph@codesourcery.com= ---1152306461-1775162167-1350663478=:4249--