From 72b569f84f41b582e29d238d47220d06c2b04a41 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Thu, 3 Mar 2011 11:09:23 +0000 Subject: [PATCH] MSVC warning suppression. [SVN r69509] --- include/boost/math/common_factor_rt.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/boost/math/common_factor_rt.hpp b/include/boost/math/common_factor_rt.hpp index 1a70bff..4582a96 100644 --- a/include/boost/math/common_factor_rt.hpp +++ b/include/boost/math/common_factor_rt.hpp @@ -22,6 +22,10 @@ #include // for CHAR_MIN #include +#ifdef BOOST_MSVC +#pragma warning(push) +#pragma warning(disable:4127 4244) // Conditional expression is constant +#endif namespace boost { @@ -519,5 +523,8 @@ lcm } // namespace math } // namespace boost +#ifdef BOOST_MSVC +#pragma warning(pop) +#endif #endif // BOOST_MATH_COMMON_FACTOR_RT_HPP