Subject: [Boost-bugs] [Boost C++ Libraries] #6645: lexical_cast<float>("0.0") -> warning:
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-02 11:12:15
#6645: lexical_cast<float>("0.0") -> warning:
-----------------------------------------------+----------------------------
Reporter: ChristianR <habadaschi@â¦> | Owner: apolukhin
Type: Bugs | Status: new
Milestone: Boost 1.50.0 | Component: lexical_cast
Version: Boost 1.49.0 | Severity: Optimization
Keywords: lexical_cast float warning |
-----------------------------------------------+----------------------------
float f = boost::lexical_cast<float>("0.123");
compiler warning:
boost/boost/lexical_cast.hpp:954: warning: implicit conversion shortens
64-bit value into a 32-bit value
32 and 64 bit with i686-apple-darwin10-gcc-4.2.1 (Xcode 3.2.5)
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6645> 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:09 UTC