Merge fix to suppress a Visual C++ warning. Fixes #1509

[SVN r41920]
This commit is contained in:
Daniel James
2007-12-09 15:46:20 +00:00
parent 50f1ab8c4a
commit 6d7843e73e

View File

@@ -14,6 +14,14 @@
# pragma once # pragma once
#endif #endif
#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 <boost/functional/detail/float_functions.hpp> #include <boost/functional/detail/float_functions.hpp>
#include <boost/integer/static_log2.hpp> #include <boost/integer/static_log2.hpp>
#include <boost/cstdint.hpp> #include <boost/cstdint.hpp>
@@ -181,4 +189,8 @@ namespace boost
} }
} }
#if defined(BOOST_MSVC)
#pragma warning(pop)
#endif
#endif #endif