This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/33067] Awkward long decimal expansion for double literal in error.


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

--- Comment #10 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2011-10-10 12:12:13 UTC ---
(In reply to comment #9)
> (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:

And the C FE:

test.cc:2:13: error: invalid operands to binary < (have âdoubleâ and âstruct
Tâ)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]