From e197ee3220b17beb0db85a73811dd1190bdbf7c0 Mon Sep 17 00:00:00 2001 From: Emil Dotchevski Date: Tue, 17 Jan 2012 03:59:33 +0000 Subject: [PATCH] Ticket 6414, thank you Petr Machata [SVN r76549] --- include/boost/exception/detail/attribute_noreturn.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/exception/detail/attribute_noreturn.hpp b/include/boost/exception/detail/attribute_noreturn.hpp index f6a0b59..ae9f031 100644 --- a/include/boost/exception/detail/attribute_noreturn.hpp +++ b/include/boost/exception/detail/attribute_noreturn.hpp @@ -9,7 +9,7 @@ #if defined(_MSC_VER) #define BOOST_ATTRIBUTE_NORETURN __declspec(noreturn) #elif defined(__GNUC__) -#define BOOST_ATTRIBUTE_NORETURN __attribute__((noreturn)) +#define BOOST_ATTRIBUTE_NORETURN __attribute__((__noreturn__)) #else #define BOOST_ATTRIBUTE_NORETURN #endif