-Wparentheses lumps too much together
Gabriel Dos Reis
gdr@cs.tamu.edu
Sun Jan 13 16:03:00 GMT 2008
Ian Lance Taylor <iant@google.com> writes:
| "Doug Gregor" <doug.gregor@gmail.com> writes:
|
| > To make this discussion a bit more concrete, the attached patch
| > removes this particular warning from -Wparentheses and puts it into a
| > new warning, -Wprecedence, that is not enabled by -Wall. This is
| > slightly more fine-grained than what -Wparentheses does now. Opinions?
|
| Personally, I think it should stay in -Wall. But I'm willing to hear
| other opinions.
I agree that the warning should stay in -Wall. However, we may
consider giving that group a more suggestive name, such as
-Wprecedence/-Wno-precedence (enabled by default).
-- Gaby
More information about the Gcc
mailing list