From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19693 invoked by alias); 30 Jul 2008 14:41:19 -0000 Received: (qmail 19683 invoked by uid 22791); 30 Jul 2008 14:41:17 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 30 Jul 2008 14:40:59 +0000 Received: (qmail 14248 invoked from network); 30 Jul 2008 14:40:57 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 30 Jul 2008 14:40:57 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.68) (envelope-from ) id 1KOCrI-00018t-Ds; Wed, 30 Jul 2008 14:40:56 +0000 Date: Wed, 30 Jul 2008 15:27:00 -0000 From: "Joseph S. Myers" To: Simon Baldwin cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH][RFC] -Wno-... option to suppress builtin macro redefined warnings In-Reply-To: <20080730140920.0F9CF3FE1B9@localhost> Message-ID: References: <20080730140920.0F9CF3FE1B9@localhost> 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: 2008-07/txt/msg02335.txt.bz2 On Wed, 30 Jul 2008, Simon Baldwin wrote: > +Do not warn if a builtin macro, such as @code{__TIME__}, is redefined. The spelling is "built-in" as an adjective in documentation; see codingconventions.html. > +Warn when a builtin preprocessor macro is undefined or redefined Likewise. I'll leave the actual patch to preprocessor maintainers to review. -- Joseph S. Myers joseph@codesourcery.com