From b4570226993810b55860fcde9a09ae2b484ae9be Mon Sep 17 00:00:00 2001 From: John Maddock Date: Fri, 9 Sep 2016 12:25:43 +0000 Subject: [PATCH] Workaround for broken __has_cpp_attribute in Oracle-12.5 compiler --- include/boost/config/suffix.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/config/suffix.hpp b/include/boost/config/suffix.hpp index cea466e5..7ee41551 100644 --- a/include/boost/config/suffix.hpp +++ b/include/boost/config/suffix.hpp @@ -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