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:
@@ -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
|
||||
|
Reference in New Issue
Block a user