This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]