From ba950b760e93927d80cc641f12770efd49435831 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Tue, 13 Nov 2007 11:51:23 +0000 Subject: [PATCH] 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. [SVN r41057] --- include/boost/functional/detail/hash_float.hpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/include/boost/functional/detail/hash_float.hpp b/include/boost/functional/detail/hash_float.hpp index efeb2af..d005e7d 100644 --- a/include/boost/functional/detail/hash_float.hpp +++ b/include/boost/functional/detail/hash_float.hpp @@ -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