Boost C++ Libraries: Ticket #6039: compile error at define BOOST_NO_EXCEPTIONS https://svn.boost.org/trac10/ticket/6039 <p> We try to upgrade from 1.33.0 to 1.41.1. When we define the BOOST_NO_EXCEPTIONS macro, we get a compile error. I found the following problem: </p> <p> Our application includes the boost/thread.hpp, this includes the boost/thread/future.hpp, this includes the boost/exception_ptr.hpp and this includes the boost/exception/detail/exception_ptr.hpp. </p> <p> In the final exception_ptr.hpp, at the line 402 there is a function call. The call of "current_exception_diagnostic_information()" function. The problem is in the boost/exception/diagnostic_information.hpp file. Because, the BOOST_NO_EXCEPTIONS is defined, there is no definition of the "current_exception_diagnostic_information()". </p> <p> Best Regards, Robar, Robert </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6039 Trac 1.4.3 anonymous Thu, 20 Oct 2011 09:22:52 GMT keywords, milestone set https://svn.boost.org/trac10/ticket/6039#comment:1 https://svn.boost.org/trac10/ticket/6039#comment:1 <ul> <li><strong>keywords</strong> boost_no_exceptions added </li> <li><strong>milestone</strong> → <span class="trac-field-new">To Be Determined</span> </li> </ul> Ticket RRobar Thu, 20 Oct 2011 12:14:27 GMT <link>https://svn.boost.org/trac10/ticket/6039#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6039#comment:2</guid> <description> <p> I resolved the problem. I changed the &lt;boost/thred.hpp&gt; include to &lt;boost/thread/thread.hpp&gt;. </p> <p> <a class="ext-link" href="http://boost.2283326.n4.nabble.com/boost-threads-without-exceptions-td3024048.html#a3024652"><span class="icon">​</span>http://boost.2283326.n4.nabble.com/boost-threads-without-exceptions-td3024048.html#a3024652</a> </p> <p> Best Regards, Robert </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 20 Oct 2011 12:15:14 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6039#comment:3 https://svn.boost.org/trac10/ticket/6039#comment:3 <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> Ticket