Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54668 - trunk/boost/exception/detail
From: andrey.semashev_at_[hidden]
Date: 2009-07-05 05:25:58


Author: andysem
Date: 2009-07-05 05:25:58 EDT (Sun, 05 Jul 2009)
New Revision: 54668
URL: http://svn.boost.org/trac/boost/changeset/54668

Log:
Added support for GCC.

Text files modified:
   trunk/boost/exception/detail/attribute_noreturn.hpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/boost/exception/detail/attribute_noreturn.hpp
==============================================================================
--- trunk/boost/exception/detail/attribute_noreturn.hpp (original)
+++ trunk/boost/exception/detail/attribute_noreturn.hpp 2009-07-05 05:25:58 EDT (Sun, 05 Jul 2009)
@@ -10,6 +10,8 @@
 
 #if defined(BOOST_MSVC)
 #define BOOST_ATTRIBUTE_NORETURN __declspec(noreturn)
+#elif defined(__GNUC__)
+#define BOOST_ATTRIBUTE_NORETURN __attribute__((noreturn))
 #else
 #define BOOST_ATTRIBUTE_NORETURN
 #endif


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk