1
0
forked from boostorg/mp11

Disable use of __attribute__((deprecated)) on clang-3.3 as it can't parse it on aliases

This commit is contained in:
Peter Dimov
2019-01-11 02:16:55 +02:00
parent ceabf8066c
commit 36a4e026df

View File

@@ -123,7 +123,7 @@
// BOOST_MP11_DEPRECATED(msg) // BOOST_MP11_DEPRECATED(msg)
#if BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, < 1900 ) #if BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, < 1900 ) || BOOST_MP11_WORKAROUND( BOOST_MP11_CLANG, < 304 )
# define BOOST_MP11_DEPRECATED(msg) # define BOOST_MP11_DEPRECATED(msg)
#elif BOOST_MP11_WORKAROUND( BOOST_MP11_GCC, < 50000 ) || BOOST_MP11_WORKAROUND( BOOST_MP11_CLANG, < 309 ) #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)))