1
0
forked from boostorg/mp11

Clang 3.3 can't parse __attribute__((deprecated)) on aliases

This commit is contained in:
Peter Dimov
2019-05-25 03:40:23 +03:00
parent 23a1432e8d
commit bf6f3e0221

View File

@ -127,6 +127,8 @@
# define BOOST_MP11_DEPRECATED(msg)
#elif BOOST_MP11_WORKAROUND( BOOST_MP11_GCC, < 50000 )
# 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
// -pedantic warns about [[deprecated]] when in C++11 mode
# define BOOST_MP11_DEPRECATED(msg) __attribute__((deprecated(msg)))