[Bug c++/77434] warn about suspicious precedence of ternary operator (?:)
egall at gwmail dot gwu.edu
gcc-bugzilla@gcc.gnu.org
Fri Sep 2 19:50:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77434
Eric Gallager <egall at gwmail dot gwu.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |egall at gwmail dot gwu.edu
--- Comment #8 from Eric Gallager <egall at gwmail dot gwu.edu> ---
As a user, I'd prefer warning about the missing parentheses instead of the
boolean context thing, the missing parentheses make a lot more sense to me and
it'd be easier for me to understand how to fix it, whereas the boolean context
one is a bit more confusing.
More information about the Gcc-bugs
mailing list