Only suppress warning for Visual C++ 8 and later. Refs #1509

[SVN r41866]
This commit is contained in:
Daniel James
2007-12-08 12:24:36 +00:00
parent 210ed051dd
commit f0f19cd688

View File

@@ -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 <boost/functional/detail/float_functions.hpp>
#include <boost/integer/static_log2.hpp>