This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][RFC] -Wno-... option to suppress builtin macro redefined warnings
- From: Ian Lance Taylor <iant at google dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Simon Baldwin <simonb at google dot com>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 17 Sep 2008 07:05:18 -0700
- Subject: Re: [PATCH][RFC] -Wno-... option to suppress builtin macro redefined warnings
- References: <20080730140920.0F9CF3FE1B9@localhost> <m3wsirec2f.fsf@fleche.redhat.com> <489C728B.4040505@google.com> <48A5B2C6.1090600@google.com> <48AEE7A7.9000509@google.com> <m33akxgfhr.fsf@fleche.redhat.com> <48B42327.1090204@google.com> <m3wshgvost.fsf@fleche.redhat.com>
Tom Tromey <tromey@redhat.com> writes:
>>>>>> "Simon" == Simon Baldwin <simonb@google.com> writes:
>
> Simon> ...so, attached below is a re-draft of this patch to bifurcate
> Simon> built-in macros so that only TIMESTAMP, TIME, DATE, FILE, and
> Simon> FILE_BASE are affected by -Wno-builtin-macro-redefined, and other
> Simon> built-in macros always warn if redefined.
>
> Simon> Please take another look when time permits, to see if you like this
> Simon> version better than the first. And thanks again for the feedback.
>
> I can only approve the libcpp parts -- those are ok.
The rest of the patch is OK.
Thanks.
Ian