]> git.lyx.org Git - lyx.git/blobdiff - boost/boost/regex/pattern_except.hpp
Boost version 1.30.0
[lyx.git] / boost / boost / regex / pattern_except.hpp
index 6c9b5d9a576777517e66d5a8fa74852d807f850b..dd16ddddb6cf4af9907e41ee33f5138a4c56edad 100644 (file)
@@ -31,12 +31,19 @@ namespace boost{
    #pragma option push -a8 -b -Vx -Ve -pc
 #endif
 
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable : 4275)
+#endif
 class BOOST_REGEX_DECL bad_pattern : public std::runtime_error
 {
 public:
    explicit bad_pattern(const std::string& s) : std::runtime_error(s){};
    ~bad_pattern() throw();
 };
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
 
 class BOOST_REGEX_DECL bad_expression : public bad_pattern
 {