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


2008/8/8 Tom Tromey <tromey@redhat.com>:
>>>>>> "Simon" == Simon Baldwin <simonb@google.com> 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.


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