http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56153
d.daniel at propharma dot ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #4 from d.daniel at propharma dot ch 2013-01-30 19:35:14 UTC --- I used -W -Wall -Wextra, but actually the warning itself is not false, since in exp1 ? exp2 : exp3 the conditional expression has a return type that depends on exp3 what exp2 needs to be convertible to. So this warning is generally correct but could be more precise. Sorry for the invalid bug report.