diff options
Diffstat (limited to 'boost/proto/make_expr.hpp')
-rw-r--r-- | boost/proto/make_expr.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/boost/proto/make_expr.hpp b/boost/proto/make_expr.hpp index 9080a4f4a6..08ef2f5ce1 100644 --- a/boost/proto/make_expr.hpp +++ b/boost/proto/make_expr.hpp @@ -45,9 +45,10 @@ #include <boost/proto/detail/poly_function.hpp> #include <boost/proto/detail/deprecated.hpp> -#ifdef _MSC_VER +#if defined(_MSC_VER) && (_MSC_VER >= 1020) # pragma warning(push) -# pragma warning(disable: 4180) // qualifier applied to function type has no meaning; ignored +# pragma warning(disable : 4180) // qualifier applied to function type has no meaning; ignored +# pragma warning(disable : 4714) // function 'xxx' marked as __forceinline not inlined #endif namespace boost { namespace proto @@ -501,7 +502,7 @@ namespace boost { namespace proto }} -#ifdef _MSC_VER +#if defined(_MSC_VER) && (_MSC_VER >= 1020) # pragma warning(pop) #endif |