|
Boost-Commit : |
From: daniel_james_at_[hidden]
Date: 2007-12-09 10:46:21
Author: danieljames
Date: 2007-12-09 10:46:20 EST (Sun, 09 Dec 2007)
New Revision: 41920
URL: http://svn.boost.org/trac/boost/changeset/41920
Log:
Merge fix to suppress a Visual C++ warning. Fixes #1509
Properties modified:
branches/release/ (props changed)
Text files modified:
branches/release/boost/functional/detail/hash_float.hpp | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
Modified: branches/release/boost/functional/detail/hash_float.hpp
==============================================================================
--- branches/release/boost/functional/detail/hash_float.hpp (original)
+++ branches/release/boost/functional/detail/hash_float.hpp 2007-12-09 10:46:20 EST (Sun, 09 Dec 2007)
@@ -14,6 +14,14 @@
# pragma once
#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/integer/static_log2.hpp>
#include <boost/cstdint.hpp>
@@ -181,4 +189,8 @@
}
}
+#if defined(BOOST_MSVC)
+#pragma warning(pop)
+#endif
+
#endif
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk