Disabling warning: suggest parentheses around && within ||
Andre Majorel
aym-ccg@teaser.fr
Wed May 13 13:45:00 GMT 2009
On 2009-05-13 04:40 -0700, John (Eljay) Love-Jensen wrote:
> > Meaning that it does. Some of those warnings are actually useful.
>
> If you want to remove "warning: suggest parentheses around &&
> within ||" and keep any other "warning: suggest parentheses
> around FOO within BAR" warnings, you can use grep -v -e to post
> process the output.
Which will only work in one locale. If GCC messages ever
acquire unique identifiers, it will be a welcome evolution.
Until then, the warnings are annoying but probably not annoying
enough for me to go to the trouble of making my makefiles so
GCC-specific.
Thank you.
--
André Majorel <URL:http://www.teaser.fr/~amajorel/>
More information about the Gcc-help
mailing list