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 RFA: -Wc++-compat warning about operator names


On Fri, Jun 12, 2009 at 2:34 PM, Ian Lance Taylor<iant@google.com> wrote:
> Gabriel Dos Reis <dosreis@gmail.com> writes:
>
>> Note that those names are also standard C macro names, therefore
>> it makes sense to warn about those in -Wextra even if no -Wc++-compat.
>
> My understanding is that they are only special in C if you #include
> <iso646.h>, not otherwise.

That is absolutely correct.  My suggestion was that we might also want to warn
under -Wextra.  But that is not critical for this patch.

OK.

-- Gaby

>
> Ian
>


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