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

--- Comment #9 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2011-10-10 
12:08:28 UTC ---
(In reply to comment #8)
> I'm really confused, I don't understand what we are going to print in 4.7.0 
> for
> this error message.

Nothing changed as far as I know, but the suggestion of Jonathan in PR49152 is
to print the types involved in the expression instead of the expression itself,
which will avoid printing weird numbers in this case.

Like Clang does:

/tmp/webcompile/_27664_0.cc:3:16: error: invalid operands to binary expression
('double' and 'struct T')

I agree that this would be an improvement already.

I don't think you can get the number right in general, since the original
representation is gone after the tokens are converted into the internal
representation.

Reply via email to