mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-30 04:27:30 +02:00
Disabled cv-qualifierd function type warning on msvc
This commit is contained in:
@ -13,9 +13,11 @@
|
|||||||
using namespace boost;
|
using namespace boost;
|
||||||
using namespace boost::fusion::detail;
|
using namespace boost::fusion::detail;
|
||||||
|
|
||||||
#if defined(__clang__)
|
|
||||||
// disable cv-qialifer on function type warning
|
// disable cv-qialifer on function type warning
|
||||||
|
#if defined(BOOST_CLANG)
|
||||||
# pragma clang diagnostic ignored "-Wignored-qualifiers"
|
# pragma clang diagnostic ignored "-Wignored-qualifiers"
|
||||||
|
#elif defined(BOOST_MSVC)
|
||||||
|
# pragma warning(disable: 4180)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
BOOST_MPL_ASSERT_NOT((is_trivially_copyable<void>));
|
BOOST_MPL_ASSERT_NOT((is_trivially_copyable<void>));
|
||||||
|
Reference in New Issue
Block a user