[PATCH] Add -Womitted-conditional-op warning
Ian Lance Taylor
iant@google.com
Fri Feb 2 19:24:00 GMT 2007
Gabriel Dos Reis <gdr@cs.tamu.edu> writes:
> On Fri, 2 Feb 2007, Andi Kleen wrote:
>
> [...]
>
> | Actually not having an option and always one would be ok for this one IMHO,
> | i just added the option for paranoia reasons in case it really is a
> | serious problem for someone.
>
> Either the short name or no name at all.
>
> I've seen people contruct arguments about existing long names for -W
> options. I would like to diminish the overall effect, not multiply it.
> So, either the short name, or no name at all.
I don't have an opinion about the length of the name or the name
itself. But I do think that every warning needs a name, one way or
another, so that every warning can be turned off.
Eventually we may be forced to do what some other compilers do:
-Wno-10234.
Ian
More information about the Gcc-patches
mailing list