This is the mail archive of the
mailing list for the GCC project.
Re: PATCH RFA: -Wc++-compat warning about operator names
On Fri, Jun 12, 2009 at 2:34 PM, Ian Lance Taylor<email@example.com> wrote:
> Gabriel Dos Reis <firstname.lastname@example.org> 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.