mirror of
https://github.com/boostorg/config.git
synced 2025-08-02 13:54:27 +02:00
For Oracle Developer Studio
__has_attribute to be used instead of __has_cpp_attribute, not remove the functionality.
This commit is contained in:
@@ -624,7 +624,11 @@ namespace std{ using ::type_info; }
|
|||||||
# define BOOST_NORETURN __declspec(noreturn)
|
# define BOOST_NORETURN __declspec(noreturn)
|
||||||
# elif defined(__GNUC__)
|
# elif defined(__GNUC__)
|
||||||
# define BOOST_NORETURN __attribute__ ((__noreturn__))
|
# define BOOST_NORETURN __attribute__ ((__noreturn__))
|
||||||
# elif defined(__has_cpp_attribute) && !defined(__SUNPRO_CC)
|
# elif defined(__has_attribute) && defined(__SUNPRO_CC)
|
||||||
|
# if __has_attribute(noreturn)
|
||||||
|
# define BOOST_NORETURN [[noreturn]]
|
||||||
|
# endif
|
||||||
|
# elif defined(__has_cpp_attribute)
|
||||||
# if __has_cpp_attribute(noreturn)
|
# if __has_cpp_attribute(noreturn)
|
||||||
# define BOOST_NORETURN [[noreturn]]
|
# define BOOST_NORETURN [[noreturn]]
|
||||||
# endif
|
# endif
|
||||||
|
Reference in New Issue
Block a user