diff --git a/test/support/is_trivially_copyable.cpp b/test/support/is_trivially_copyable.cpp index 201b8a7b..37f6d911 100644 --- a/test/support/is_trivially_copyable.cpp +++ b/test/support/is_trivially_copyable.cpp @@ -13,9 +13,11 @@ using namespace boost; using namespace boost::fusion::detail; -#if defined(__clang__) // disable cv-qialifer on function type warning +#if defined(BOOST_CLANG) # pragma clang diagnostic ignored "-Wignored-qualifiers" +#elif defined(BOOST_MSVC) +# pragma warning(disable: 4180) #endif BOOST_MPL_ASSERT_NOT((is_trivially_copyable));