diff --git a/include/boost/functional/detail/hash_float.hpp b/include/boost/functional/detail/hash_float.hpp index d005e7d..243012c 100644 --- a/include/boost/functional/detail/hash_float.hpp +++ b/include/boost/functional/detail/hash_float.hpp @@ -14,6 +14,12 @@ # pragma once #endif +#if defined(BOOST_MSVC) +#pragma warning(push) +#pragma warning(disable:6294) // Ill-defined for-loop: initial condition does + // not satisfy test. Loop body not executed +#endif + #include #include #include @@ -181,4 +187,8 @@ namespace boost } } +#if defined(BOOST_MSVC) +#pragma warning(pop) +#endif + #endif