Opened 14 years ago
Closed 12 years ago
#2728 closed Bugs (fixed)
Missing BOOST_THREAD_DECL for boost::detail::add_thread_exit_function(
Reported by: | Owned by: | Anthony Williams | |
---|---|---|---|
Milestone: | Boost 1.38.0 | Component: | thread |
Version: | Boost 1.37.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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.
Note:
See TracTickets
for help on using tickets.
This bug is still present in boost 1.42. To fix, the following patch needs to be applied on boost/thread/detail/thread.hpp:
Index: thread.hpp =================================================================== --- thread.hpp +++ thread.hpp @@ -464,7 +464,7 @@
+ void BOOST_THREAD_DECL add_thread_exit_function(thread_exit_function_base*);