This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33067] Awkward long decimal expansion for double literal in error.
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 10 Oct 2011 12:12:13 +0000
- Subject: [Bug c++/33067] Awkward long decimal expansion for double literal in error.
- Auto-submitted: auto-generated
- References: <bug-33067-4@http.gcc.gnu.org/bugzilla/>
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â)