1
0
forked from boostorg/mp11

Added fix for Sun Studio compilations. (#45)

* Added fix for Sun Studio compilations.

* Update config.hpp
This commit is contained in:
vahtis
2020-01-29 01:28:18 +02:00
committed by GitHub
parent 2b0d107844
commit 66681de1ed

View File

@@ -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