forked from boostorg/mp11
Use __attribute__((deprecated)) on clang 3.8 to avoid a warning
This commit is contained in:
@@ -125,7 +125,7 @@
|
|||||||
|
|
||||||
#if BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, < 1900 )
|
#if BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, < 1900 )
|
||||||
# define BOOST_MP11_DEPRECATED(msg)
|
# define BOOST_MP11_DEPRECATED(msg)
|
||||||
#elif BOOST_MP11_WORKAROUND( BOOST_MP11_GCC, < 50000 )
|
#elif BOOST_MP11_WORKAROUND( BOOST_MP11_GCC, < 50000 ) || BOOST_MP11_WORKAROUND( BOOST_MP11_CLANG, < 309 )
|
||||||
# define BOOST_MP11_DEPRECATED(msg) __attribute__((deprecated(msg)))
|
# define BOOST_MP11_DEPRECATED(msg) __attribute__((deprecated(msg)))
|
||||||
#else
|
#else
|
||||||
# define BOOST_MP11_DEPRECATED(msg) [[deprecated(msg)]]
|
# define BOOST_MP11_DEPRECATED(msg) [[deprecated(msg)]]
|
||||||
|
Reference in New Issue
Block a user