[Boost-bugs] [Boost C++ Libraries] #6449: numeric_cast is broken when using VC and /RTCc option

Subject: [Boost-bugs] [Boost C++ Libraries] #6449: numeric_cast is broken when using VC and /RTCc option
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-01-26 13:29:17


#6449: numeric_cast is broken when using VC and /RTCc option
------------------------------+---------------------------------------------
 Reporter: y.hoshizuki | Owner: dgregor
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: numeric
  Version: Boost 1.48.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 run-time checker detects the illegal assignment in GT_HiT::apply() in
 numeric\conversion\detail\converter.hpp called by 'numeric_cast<int,
 unsigned short>'.

 please compile the attached file with below command.
> cl.exe numeric.cpp /EHsc /RTCc /Zi

 I confirmed same problem using VC2005 + boost 1.47.0 and VC2010 + boost
 1.48.0.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6449>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC