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