[Bug c++/57342] [C++11] Warning for narrowing conversion has ugly formatting for floating point number
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri May 27 02:31:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57342
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2013-05-21 00:00:00 |2016-5-26
Version|4.9.0 |7.0
--- Comment #4 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Paolo Carlini from comment #2)
> Maybe Manuel means PR33067, where we made some progress in caret-less times.
> In the meanwhile those examples are fixed, we shall fix this one too, of
> course.
Yes. Removing the %qE and printing instead the type to which we are narrowing
(like Clang does) would already be an improvement. Still broken in trunk.
More information about the Gcc-bugs
mailing list