summaryrefslogtreecommitdiff
path: root/boost/regex/v4/basic_regex.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/regex/v4/basic_regex.hpp')
-rw-r--r--boost/regex/v4/basic_regex.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/boost/regex/v4/basic_regex.hpp b/boost/regex/v4/basic_regex.hpp
index ac91af2914..1962372018 100644
--- a/boost/regex/v4/basic_regex.hpp
+++ b/boost/regex/v4/basic_regex.hpp
@@ -36,10 +36,16 @@
namespace boost{
#ifdef BOOST_MSVC
#pragma warning(push)
-#pragma warning(disable : 4251 4231 4800)
+#pragma warning(disable : 4251)
+#if BOOST_MSVC < 1700
+# pragma warning(disable : 4231)
+#endif
#if BOOST_MSVC < 1600
#pragma warning(disable : 4660)
#endif
+#if BOOST_MSVC < 1910
+#pragma warning(disable:4800)
+#endif
#endif
namespace BOOST_REGEX_DETAIL_NS{