------- Comment #6 from lindevel at gmx dot net 2006-09-03 20:38 ------- Perhaps the message should then be "0 (int) is of incompatible type to debug(...) (void)" or similar? At least it should be more clear about the fact that the error is that both sides of the : need to be compatible (and are not).
I though about all kinds of other things, but not of an incompatibility, because the error message tells me about void and throw expressions and not about the specs for (?:). Don't get me wrong, I don't want g++ to output a C++ beginners manual, but at least it should be clear from an error message where the error is, otherwise the message is useless. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28943