From c508ddafea061a5f705835355139c2c9aaece527 Mon Sep 17 00:00:00 2001 From: Kohei Takahashi Date: Thu, 10 May 2018 02:08:24 +0900 Subject: [PATCH] Disabled cv-qualifierd function type warning on msvc --- test/support/is_trivially_copyable.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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));