[Bug c++/54348] confusing error reported for type mismatch in conditional expression : "error: no match for ternary 'operator?:' in 'false ?"

jason.vas.dias at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Aug 21 20:30:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54348

--- Comment #6 from Jason Vas Dias <jason.vas.dias at gmail dot com> 2012-08-21 20:29:53 UTC ---
(In reply to comment #1)
> In mainline the diagnostics is better because we output the types. But I agree
> that given that the conditional operator cannot be overloaded the error message
> could be more clear.

yes, that is all I'm saying



More information about the Gcc-bugs mailing list