From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17238 invoked by alias); 10 Aug 2007 01:42:43 -0000 Received: (qmail 17217 invoked by uid 22791); 10 Aug 2007 01:42:42 -0000 X-Spam-Check-By: sourceware.org Received: from mailhost.cs.tamu.edu (HELO postal.cs.tamu.edu) (128.194.138.100) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 10 Aug 2007 01:42:40 +0000 Received: from soliton.cs.tamu.edu (vpn-33.cs.tamu.edu [128.194.150.33]) by postal.cs.tamu.edu (Postfix) with ESMTP id 9F5DC46DE04; Thu, 9 Aug 2007 20:42:38 -0500 (CDT) Received: by soliton.cs.tamu.edu (Postfix, from userid 1000) id CBCBE1AAEB; Thu, 9 Aug 2007 20:48:08 -0500 (CDT) To: Paolo Bonzini Cc: "Kaveh R. GHAZI" ,=?iso-8859-1?q??= =?iso-8859-1?q? Manuel López-Ibáñez?= , Mark Mitchell , gcc-patches@gcc.gnu.org Subject: Re: Add a __nowarn__ keyword References: <87odhozdvp.fsf@soliton.cs.tamu.edu> <46B668EB.6080708@codesourcery.com> <46B6B038.7050601@codesourcery.com> <46B741C7.4080908@codesourcery.com> <6c33472e0708080152i1fd84566pe806fc83f40df417@mail.gmail.com> <46B9CC05.6040907@gnu.org> From: Gabriel Dos Reis In-Reply-To: <46B9CC05.6040907@gnu.org> Date: Fri, 10 Aug 2007 01:42:00 -0000 Message-ID: <87sl6s88iv.fsf@soliton.cs.tamu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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/msg00627.txt.bz2 Paolo Bonzini writes: | > Perhaps. The documentation says not all warnings are modifiable. I | > didn't check whether -Wcast-qual is one of them or if this is in fact a | > bug. IMHO because of the problems DJ noted in his summary, I believe | > using a #pragma interface is fatally flawed. In addition to what he said, | > you also can't use #pragma in a macro definition. | | | Would it make sense to have some pragmas stop their effect at the end | of the statement if they are written (as _Pragma) in the middle of the | code? That is far more than what we need now. And doing what you suggest would get again, I suspect, in the same discussion as DJ had. -- Gaby