This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20414] C-style cast fails to do proper conversion (explicit type conversion)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Mar 2005 21:23:25 -0000
- Subject: [Bug c++/20414] C-style cast fails to do proper conversion (explicit type conversion)
- References: <20050310211627.20414.simonc235@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-10 21:23 -------
Fixed in 4.0.0 by:
http://gcc.gnu.org/ml/gcc-patches/2004-10/msg01676.html
>From that patch:
"The underlying problem was that we were not handling C-style casts as
one of const_cast, static_cast, or reinterpret_cast as required by
the standard. (There are a few extra bits, but that's the basic
idea.) So, I fixed that."
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Keywords| |wrong-code
Resolution| |FIXED
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20414