Boost C++ Libraries: Ticket #10460: Compiler error due to looser throw specifier https://svn.boost.org/trac10/ticket/10460 <p> I'm running into errors when using C++ code generated by thrift and Boost 1.55.0 together. Errors of the form: </p> <pre class="wiki">${BOOST_ROOT}/include/boost/move/core.hpp:70: error: looser throw specifier for 'boost::rv&lt;T&gt;::~rv() [with T = ...]' error: overriding 'virtual ... throw ()' </pre><p> I'm not that familiar with the C++11 semantics involved, but some similar problems are discussed here: </p> <p> <a class="ext-link" href="http://stackoverflow.com/questions/6539009/gcc-exception-specification-of-default-destructor"><span class="icon">​</span>http://stackoverflow.com/questions/6539009/gcc-exception-specification-of-default-destructor</a> </p> <p> <a class="ext-link" href="http://stackoverflow.com/questions/24858417/using-c-boosts-format-object-as-an-exception-member"><span class="icon">​</span>http://stackoverflow.com/questions/24858417/using-c-boosts-format-object-as-an-exception-member</a> </p> <p> I was able to work around the problem by patching the header file as attached... </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10460 Trac 1.4.3 anonymous Thu, 04 Sep 2014 16:49:26 GMT attachment set https://svn.boost.org/trac10/ticket/10460 https://svn.boost.org/trac10/ticket/10460 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">patch</span> </li> </ul> Ticket anonymous Thu, 04 Sep 2014 16:49:51 GMT summary changed https://svn.boost.org/trac10/ticket/10460#comment:1 https://svn.boost.org/trac10/ticket/10460#comment:1 <ul> <li><strong>summary</strong> <span class="trac-field-old">Copmiler error due to looser throw specifier</span> → <span class="trac-field-new">Compiler error due to looser throw specifier</span> </li> </ul> Ticket Ion Gaztañaga Sat, 04 Oct 2014 14:39:39 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10460#comment:2 https://svn.boost.org/trac10/ticket/10460#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Thanks. Patch applied in develop, commit: </p> <p> SHA-1: 78e032ccf052b92b7f8c051eda6c6c6420f4db45 </p> Ticket