mirror of
https://github.com/boostorg/config.git
synced 2025-07-30 04:17:16 +02:00
Workaround for broken __has_cpp_attribute in Oracle-12.5 compiler
This commit is contained in:
@ -624,7 +624,7 @@ namespace std{ using ::type_info; }
|
||||
# define BOOST_NORETURN __declspec(noreturn)
|
||||
# elif defined(__GNUC__)
|
||||
# define BOOST_NORETURN __attribute__ ((__noreturn__))
|
||||
# elif defined(__has_cpp_attribute)
|
||||
# elif defined(__has_cpp_attribute) && !defined(__SUNPRO_CC)
|
||||
# if __has_cpp_attribute(noreturn)
|
||||
# define BOOST_NORETURN [[noreturn]]
|
||||
# endif
|
||||
|
Reference in New Issue
Block a user