From 36a4e026df959ad17f145071e23fd1be92c8b34c Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Fri, 11 Jan 2019 02:16:55 +0200 Subject: [PATCH] Disable use of __attribute__((deprecated)) on clang-3.3 as it can't parse it on aliases --- include/boost/mp11/detail/config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/mp11/detail/config.hpp b/include/boost/mp11/detail/config.hpp index 1c4b1ed..607bef0 100644 --- a/include/boost/mp11/detail/config.hpp +++ b/include/boost/mp11/detail/config.hpp @@ -123,7 +123,7 @@ // 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) #elif BOOST_MP11_WORKAROUND( BOOST_MP11_GCC, < 50000 ) || BOOST_MP11_WORKAROUND( BOOST_MP11_CLANG, < 309 ) # define BOOST_MP11_DEPRECATED(msg) __attribute__((deprecated(msg)))