forked from boostorg/mp11
Clang 3.3 can't parse __attribute__((deprecated)) on aliases
This commit is contained in:
@@ -127,6 +127,8 @@
|
|||||||
# 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 )
|
||||||
# define BOOST_MP11_DEPRECATED(msg) __attribute__((deprecated(msg)))
|
# define BOOST_MP11_DEPRECATED(msg) __attribute__((deprecated(msg)))
|
||||||
|
#elif BOOST_MP11_WORKAROUND( BOOST_MP11_CLANG, < 304 )
|
||||||
|
# define BOOST_MP11_DEPRECATED(msg)
|
||||||
#elif BOOST_MP11_CLANG
|
#elif BOOST_MP11_CLANG
|
||||||
// -pedantic warns about [[deprecated]] when in C++11 mode
|
// -pedantic warns about [[deprecated]] when in C++11 mode
|
||||||
# define BOOST_MP11_DEPRECATED(msg) __attribute__((deprecated(msg)))
|
# define BOOST_MP11_DEPRECATED(msg) __attribute__((deprecated(msg)))
|
||||||
|
Reference in New Issue
Block a user