This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, updated] Add a warning for suspicious use of conditional expressions in boolean context
On Thu, 15 Sep 2016, Bernd Edlinger wrote:
> So level 1 could be enabled with -Wall and level 2 could be enabled
> with -pedantic and/or -Wpedantic.
But this warning has absolutely nothing to do with things that are
prohibited by, or undefined in, ISO standards, and so it would be
completely inappropriate for -pedantic to affect it in any way.
--
Joseph S. Myers
joseph@codesourcery.com