From fb26953fcfae8433098f0ddd5bd78fd5655dbf03 Mon Sep 17 00:00:00 2001 From: Kohei Takahashi Date: Wed, 9 May 2018 03:03:38 +0900 Subject: [PATCH] Suppress known warning --- test/support/is_trivially_copyable.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/support/is_trivially_copyable.cpp b/test/support/is_trivially_copyable.cpp index ae58f15d..59b83c9f 100644 --- a/test/support/is_trivially_copyable.cpp +++ b/test/support/is_trivially_copyable.cpp @@ -13,6 +13,10 @@ using namespace boost; using namespace boost::fusion::detail; +#if defined(__clang__) +// disable cv-qialifer on function type warning +# pragma clang diagnostic ignored "-Wignored-qualifiers" +#endif BOOST_MPL_ASSERT_NOT((is_trivially_copyable)); BOOST_MPL_ASSERT_NOT((is_trivially_copyable));