Boost C++ Libraries: Ticket #2728: Missing BOOST_THREAD_DECL for boost::detail::add_thread_exit_function( https://svn.boost.org/trac10/ticket/2728 <p> Currently in 1.36.0, 1.37.0 and trunk svn, boost::detail::add_thread_exit_function does not have BOOST_THREAD_DECL. This makes the symbol to be internal of boost_thread*.dll and not exported; hence causing linking error. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2728 Trac 1.4.3 glimberg@… Tue, 23 Feb 2010 20:32:40 GMT <link>https://svn.boost.org/trac10/ticket/2728#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2728#comment:1</guid> <description> <p> This bug is still present in boost 1.42. To fix, the following patch needs to be applied on boost/thread/detail/thread.hpp: </p> <p> Index: thread.hpp =================================================================== --- thread.hpp +++ thread.hpp @@ -464,7 +464,7 @@ </p> <blockquote> <p> } </p> </blockquote> <blockquote> <p> }; </p> </blockquote> <p> </p> <ul><li> void add_thread_exit_function(thread_exit_function_base*); </li></ul><p> + void BOOST_THREAD_DECL add_thread_exit_function(thread_exit_function_base*); </p> <blockquote> <p> } </p> </blockquote> <p> </p> <blockquote> <p> namespace this_thread </p> </blockquote> </description> <category>Ticket</category> </item> <item> <dc:creator>Anthony Williams</dc:creator> <pubDate>Wed, 09 Jun 2010 08:24:54 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/2728#comment:2 https://svn.boost.org/trac10/ticket/2728#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> Fixed in 1.43.0 </p> Ticket