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 ||
Hi Andre,
> 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.
Or in your source, you can add in the parentheses, as suggested by the warning.
>From your initial inquiry, it appeared that you wanted -Wall without any parentheses warnings (-Wno-parentheses).
Sincerely,
--Eljay