[Bug c++/22281] [4.0/4.1 Regression] C-Style cast does reinterpret_cast when it should do a static_cast

mmitchel at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jul 6 16:40:00 GMT 2005


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-07-06 16:40 -------
Yes, this is almost certainly a duplicate.  The basic problem is that
static_cast does not quite do as much as it should, so we fall back to
reinterpret_cast.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |mark at codesourcery dot com
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
   Target Milestone|4.0.1                       |4.0.2


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



More information about the Gcc-bugs mailing list