http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22238
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW CC| |jason at gcc dot gnu.org, | |manu at gcc dot gnu.org AssignedTo|gdr at gcc dot gnu.org |unassigned at gcc dot | |gnu.org --- Comment #16 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2011-12-01 17:27:01 UTC --- I think this is a duplicate of another PR I cannot find, but everything boils down to "please kill %qE and stop pretty-printing expressions". Behold the beauty of clang: pr22238.cc:8:20: error: value of type 'void' is not contextually convertible to 'bool' void bar() { if (foo()) ; } ^~~~~ 1 error generated. (it looks even prettier with the default colors!)