Opened 11 years ago
#6449 new Bugs
numeric_cast is broken when using VC and /RTCc option
Reported by: | y.hoshizuki | Owned by: | Douglas Gregor |
---|---|---|---|
Milestone: | To Be Determined | Component: | numeric |
Version: | Boost 1.48.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
minimal test program