Ticket #4013: boost_exception_gcc_warning_cleanup.diff
File boost_exception_gcc_warning_cleanup.diff, 1.0 KB (added by , 13 years ago) |
---|
-
boost/throw_exception.hpp
47 47 namespace 48 48 exception_detail 49 49 { 50 #if BOOST_WORKAROUND(__GNUC__, >= 3) 51 template <class E> 52 void 53 throw_exception_( E const & x, char const * current_function, char const * file, int line ) __attribute__((noreturn)); 54 #endif 50 55 template <class E> 51 56 void 52 57 throw_exception_( E const & x, char const * current_function, char const * file, int line ) -
boost/exception/exception.hpp
415 415 416 416 void 417 417 rethrow() const 418 #if BOOST_WORKAROUND(__GNUC__, >= 3) 419 __attribute__((noreturn)) 420 #endif 421 418 422 { 419 423 throw*this; 420 424 }