diff --git a/include/boost/mp11/detail/config.hpp b/include/boost/mp11/detail/config.hpp index 248dce0..e00fd63 100644 --- a/include/boost/mp11/detail/config.hpp +++ b/include/boost/mp11/detail/config.hpp @@ -132,6 +132,8 @@ #elif BOOST_MP11_CLANG // -pedantic warns about [[deprecated]] when in C++11 mode # define BOOST_MP11_DEPRECATED(msg) __attribute__((deprecated(msg))) +#elif defined(__SUNPRO_CC) +# define BOOST_MP11_DEPRECATED(msg) #else # define BOOST_MP11_DEPRECATED(msg) [[deprecated(msg)]] #endif