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: Tom Tromey <tromey at redhat dot com>
- To: Simon Baldwin <simonb at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 12 Sep 2008 19:04:50 -0600
- 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>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "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.
thanks,
Tom