From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10491 invoked by alias); 8 Aug 2008 16:01:04 -0000 Received: (qmail 10364 invoked by uid 22791); 8 Aug 2008 16:01:03 -0000 X-Spam-Check-By: sourceware.org Received: from rv-out-0708.google.com (HELO rv-out-0708.google.com) (209.85.198.246) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 08 Aug 2008 16:00:25 +0000 Received: by rv-out-0708.google.com with SMTP id c5so932209rvf.56 for ; Fri, 08 Aug 2008 09:00:23 -0700 (PDT) Received: by 10.141.116.16 with SMTP id t16mr1503855rvm.280.1218211223324; Fri, 08 Aug 2008 09:00:23 -0700 (PDT) Received: by 10.141.108.14 with HTTP; Fri, 8 Aug 2008 09:00:23 -0700 (PDT) Message-ID: <6c33472e0808080900y2b070776w10d4121b07f269ec@mail.gmail.com> Date: Fri, 08 Aug 2008 16:09:00 -0000 From: "=?ISO-8859-1?Q?Manuel_L=F3pez-Ib=E1=F1ez?=" To: tromey@redhat.com Subject: Re: [PATCH][RFC] -Wno-... option to suppress builtin macro redefined warnings Cc: "Simon Baldwin" , gcc-patches@gcc.gnu.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080730140920.0F9CF3FE1B9@localhost> 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: 2008-08/txt/msg00544.txt.bz2 2008/8/8 Tom Tromey : >>>>>> "Simon" == Simon Baldwin writes: > > Simon> This patch adds a warning suppression flag, > Simon> -Wno-builtin-macro-redefined, to silence gcc warnings where > Simon> builtin macros such as __TIME__ are undefined or redefined, > Simon> either on the command line or by directives. > > This seems like a reasonable thing to want to do. > Do we need an option? Why not allow redefinition of (some) builtin macros by default? Cheers, Manuel.