This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Disabling warning: suggest parentheses around && within ||
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/>