Boost C++ Libraries: Ticket #13204: Warning when compiling with -Wdeprecated-dynamic-exception-spec in clang https://svn.boost.org/trac10/ticket/13204 <p> When compiling with -Wdeprecated-dynamic-exception-spec in clang we get the following warning </p> <pre class="wiki">/xxx/modular-boost3/boost/smart_ptr/bad_weak_ptr.hpp:50:39: error: dynamic exception specifications are deprecated [-Werror,-Wdeprecated-dynamic-exception-spec] virtual char const * what() const throw() ^~~~~~~ /Users/viboes/github/modular-boost3/boost/smart_ptr/bad_weak_ptr.hpp:50:39: note: use 'noexcept' instead virtual char const * what() const throw() ^~~~~~~ noexcept 1 error generated. </pre><p> I don't know if using instead BOOST_NOEXCEPT_OR_NOTHROW is correct and should resolve the issue. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13204 Trac 1.4.3