Merge pull request #117 from Kojoley/suppress-clang-Wignored-qualifiers-in-test.hpp

test.hpp: Suppress Clang -Wignored-qualifiers warning
This commit is contained in:
jzmaddock
2019-03-16 08:50:48 +00:00
committed by GitHub

View File

@ -208,6 +208,9 @@ typedef int (UDT::*mf8)(...);
# elif defined(BOOST_INTEL)
# pragma warning(push)
# pragma warning(disable: 21)
# elif defined(BOOST_CLANG)
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wignored-qualifiers"
# endif
//
// This is intentional:
@ -228,6 +231,8 @@ typedef r_type cr_type;
# elif defined(BOOST_INTEL)
# pragma warning(pop)
# pragma warning(disable: 985) // identifier truncated in debug information
# elif defined(BOOST_CLANG)
# pragma clang diagnostic pop
# endif
struct POD_UDT { int x; };