Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6645: lexical_cast<float>("0.0") -> warning:
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-02 11:17:33
#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
Resolution: | Keywords: lexical_cast float warning
------------------------------------------------+---------------------------
Comment (by ChristianR <habadaschi@â¦>):
boost/lexical_cast.hpp: In function 'bool
boost::detail::lcast_ret_float(T&, const CharT*, const CharT*) [with
Traits = std::char_traits<char>, T = float, CharT = char]':[[BR]]
boost/lexical_cast.hpp:1637: instantiated from 'bool
boost::detail::lexical_stream_limited_src<CharT, Traits,
RequiresStringbuffer>::operator>>(float&) [with CharT = char, Traits =
std::char_traits<char>, bool RequiresStringbuffer = true]'[[BR]]
boost/lexical_cast.hpp:1920: instantiated from 'static Target
boost::detail::lexical_cast_do_cast<Target,
Source>::lexical_cast_impl(const Source&) [with Target = float, Source =
const char*]'[[BR]]
boost/lexical_cast.hpp:2087: instantiated from 'Target
boost::lexical_cast(const Source&) [with Target = float, Source = char
[6]]'[[BR]]
sandbox.cpp:149: instantiated from here[[BR]]
boost/lexical_cast.hpp:954: warning: implicit conversion shortens 64-bit
value into a 32-bit value
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6645#comment:1> 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