------- Comment #1 from manu at gcc dot gnu dot org 2010-02-20 18:47 ------- You are using an assignment as a truth value and that is a typical error when ones confuses == with =, so we warn. Add parenthesis as the warning suggest bool = (nobool = value) or silence the warning with the appropriate -Wno-option.
-- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu dot org Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31524