[Bug c++/36963] [4.4 Regression] Bogus narrowing conversion error in initializer list.
manu at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Aug 2 15:29:00 GMT 2008
------- Comment #1 from manu at gcc dot gnu dot org 2008-08-02 15:28 -------
AFAIK, the error is a request of the c++0x standard and it seems -0.02435L does
not fit exactly in a float while -0.25L does, so the message is correct and I
thus I don't think there is a bug here.
Perhaps it should be a permissive error, so users can compile legacy code in
c++0x mode.
CCing Jason.
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at redhat dot com,
| |manu at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36963
More information about the Gcc-bugs
mailing list