This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][RFC] -Wno-... option to suppress builtin macro redefined warnings


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]