|
Boost-Commit : |
From: daniel_james_at_[hidden]
Date: 2007-11-13 06:51:23
Author: danieljames
Date: 2007-11-13 06:51:23 EST (Tue, 13 Nov 2007)
New Revision: 41057
URL: http://svn.boost.org/trac/boost/changeset/41057
Log:
Don't use fpclass because it causes a warning for long doubles. I don't know if the warning is vaild here - but I don't want to disable it as it's useful for checking other function calls.
Text files modified:
trunk/boost/functional/detail/hash_float.hpp | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
Modified: trunk/boost/functional/detail/hash_float.hpp
==============================================================================
--- trunk/boost/functional/detail/hash_float.hpp (original)
+++ trunk/boost/functional/detail/hash_float.hpp 2007-11-13 06:51:23 EST (Tue, 13 Nov 2007)
@@ -41,9 +41,13 @@
// Dinkumware Library, on Visual C++
#elif (defined(_YVALS) && !defined(__IBMCPP__)) || defined(_CPPLIB_VER)
-# if defined(BOOST_MSVC)
-# define BOOST_HASH_USE_FPCLASS
-# endif
+
+// Not using _fpclass because it causes a warning about a conversion
+// from 'long double' to 'double'. Pity.
+//
+//# if defined(BOOST_MSVC)
+//# define BOOST_HASH_USE_FPCLASS
+//# endif
#endif
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk