diff --git a/include/boost/mp11/detail/config.hpp b/include/boost/mp11/detail/config.hpp index 63c21f4..7f07fe2 100644 --- a/include/boost/mp11/detail/config.hpp +++ b/include/boost/mp11/detail/config.hpp @@ -90,7 +90,7 @@ # undef BOOST_MP11_MSVC # define BOOST_MP11_MSVC _MSC_VER -# if BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, < 1920 ) +# if BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, < 1916 ) # define BOOST_MP11_NO_CONSTEXPR # endif diff --git a/test/mp_for_each.cpp b/test/mp_for_each.cpp index 9bea05a..1db533e 100644 --- a/test/mp_for_each.cpp +++ b/test/mp_for_each.cpp @@ -10,6 +10,7 @@ #if BOOST_MP11_MSVC # pragma warning( disable: 4503 ) // decorated name length exceeded +# pragma warning( disable: 4307 ) // '*': integral constant overflow #endif #include