Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4282: Please add BOOST_ATTRIBUTE_NORETURN to rethrow_exception()
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-08 01:24:25
#4282: Please add BOOST_ATTRIBUTE_NORETURN to rethrow_exception()
---------------------------------------------------+------------------------
Reporter: Gevorg Voskanyan <v_gevorg@â¦> | Owner: emildotchevski
Type: Feature Requests | Status: new
Milestone: | Component: exception
Version: Boost 1.43.0 | Severity: Cosmetic
Keywords: |
---------------------------------------------------+------------------------
Comment(by steven_watanabe):
Do you have a patch? Adding BOOST_ATTRIBUTE_NORETURN gives this warning
instead:
{{{
boost/exception/detail/exception_ptr.hpp: In function 'void
boost::rethrow_exception(const boost::exception_ptr&)':
boost/exception/detail/exception_ptr.hpp:391: warning: 'noreturn' function
does return
}}}
I can't seem to get rid of this. Adding BOOST_ATTRIBUTE_NORETURN to
clone_base::rethrow doesn't help.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4282#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC