CPP inconsistency

Zack Weinberg zack@codesourcery.com
Tue Apr 19 18:10:00 GMT 2005


Joe Buck <Joe.Buck@synopsys.COM> writes:

> GCC has the "suggest parentheses" warning elsewhere (to catch people
> writing "if (foo = 0)" and the like; maybe there should be a warning
> for this one as well.

I'd be happy to take a patch to add -Wparentheses support to
libcpp/expr.c.

zw



More information about the Gcc mailing list