From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7792 invoked by alias); 8 Aug 2007 15:25:16 -0000 Received: (qmail 7693 invoked by uid 22791); 8 Aug 2007 15:25:15 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 08 Aug 2007 15:25:11 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id D9B4A982C5; Wed, 8 Aug 2007 15:25:10 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 41AB8982A4; Wed, 8 Aug 2007 15:25:10 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1IInPH-0001PB-I4; Wed, 08 Aug 2007 11:25:07 -0400 Date: Wed, 08 Aug 2007 15:25:00 -0000 From: Daniel Jacobowitz To: Manuel =?iso-8859-1?B?TPNwZXotSWLh8WV6?= Cc: "Kaveh R. GHAZI" , Gabriel Dos Reis , Mark Mitchell , Richard Guenther , gcc-patches@gcc.gnu.org Subject: Re: Add a __nowarn__ keyword Message-ID: <20070808152507.GA5370@caradoc.them.org> Mail-Followup-To: Manuel =?iso-8859-1?B?TPNwZXotSWLh8WV6?= , "Kaveh R. GHAZI" , Gabriel Dos Reis , Mark Mitchell , Richard Guenther , gcc-patches@gcc.gnu.org References: <46B6B038.7050601@codesourcery.com> <46B741C7.4080908@codesourcery.com> <6c33472e0708080152i1fd84566pe806fc83f40df417@mail.gmail.com> <6c33472e0708080729n4d59f0bdn72a90a95a7881ad3@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6c33472e0708080729n4d59f0bdn72a90a95a7881ad3@mail.gmail.com> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes 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: 2007-08/txt/msg00516.txt.bz2 On Wed, Aug 08, 2007 at 03:29:15PM +0100, Manuel López-Ibáñez wrote: > > In contrast, the keyword mechanism as shown by the __extension__ feature > > is well tested and has been shown to be useful and usable. I think a > > __nowarn__ keyword is the way to go and we can break it down to the > > per-warning-flag level as a followup if there is interest by reusing DJ's > > #pragma infrastructure. > > __nowarn__("-Wcast-qual") ? It doesn't actually look so bad, does it? In fact, it looks like _Pragma at that point... -- Daniel Jacobowitz CodeSourcery