[Boost-bugs] [Boost C++ Libraries] #2264: Warning C4244 in VS2005 build for PocketPC

Subject: [Boost-bugs] [Boost C++ Libraries] #2264: Warning C4244 in VS2005 build for PocketPC
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-08-27 10:00:50


#2264: Warning C4244 in VS2005 build for PocketPC
---------------------------------------------+------------------------------
 Reporter: Juraj Novák <beeblbrox_at_[hidden]> | Owner: danieljames
     Type: Bugs | Status: new
Milestone: Boost 1.37.0 | Component: hash
  Version: Boost 1.36.0 | Severity: Cosmetic
 Keywords: |
---------------------------------------------+------------------------------
 I am getting these two warnings:

 1>include\boost/functional/detail/float_functions.hpp(91) : warning C4244:
 'return' : conversion from 'double' to 'float', possible loss of data
 1>include\boost/functional/detail/float_functions.hpp(118) : warning
 C4244: 'return' : conversion from 'double' to 'float', possible loss of
 data

 They can be easily fixed with an explicit cast to float. These warnings
 occur in functions call_ldexp and call_frexp in part conditioned with
 BOOST_HASH_C99_NO_FLOAT_FUNCS and BOOST_HASH_USE_OVERLOAD_FLOAT_FUNCS.

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2264>
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:49:58 UTC