|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r69509 - trunk/boost/math
From: john_at_[hidden]
Date: 2011-03-03 06:09:28
Author: johnmaddock
Date: 2011-03-03 06:09:23 EST (Thu, 03 Mar 2011)
New Revision: 69509
URL: http://svn.boost.org/trac/boost/changeset/69509
Log:
MSVC warning suppression.
Text files modified:
trunk/boost/math/common_factor_rt.hpp | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
Modified: trunk/boost/math/common_factor_rt.hpp
==============================================================================
--- trunk/boost/math/common_factor_rt.hpp (original)
+++ trunk/boost/math/common_factor_rt.hpp 2011-03-03 06:09:23 EST (Thu, 03 Mar 2011)
@@ -22,6 +22,10 @@
#include <climits> // for CHAR_MIN
#include <boost/detail/workaround.hpp>
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable:4127 4244) // Conditional expression is constant
+#endif
namespace boost
{
@@ -519,5 +523,8 @@
} // namespace math
} // namespace boost
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
#endif // BOOST_MATH_COMMON_FACTOR_RT_HPP
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