From 727cacbc17a4dffe85e2e420c735cd1ca0a01215 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sat, 8 Dec 2007 12:24:36 +0000 Subject: [PATCH] Only suppress warning for Visual C++ 8 and later. Refs #1509 [SVN r41866] --- include/boost/functional/detail/hash_float.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/functional/detail/hash_float.hpp b/include/boost/functional/detail/hash_float.hpp index 243012c..298d0c0 100644 --- a/include/boost/functional/detail/hash_float.hpp +++ b/include/boost/functional/detail/hash_float.hpp @@ -16,9 +16,11 @@ #if defined(BOOST_MSVC) #pragma warning(push) +#if BOOST_MSVC >= 1400 #pragma warning(disable:6294) // Ill-defined for-loop: initial condition does // not satisfy test. Loop body not executed #endif +#endif #include #include