Boost C++ Libraries: Ticket #3639: Boost.Thread doesn't build with Sun-5.9 on Linux https://svn.boost.org/trac10/ticket/3639 <p> I don't really know what the correct fix is here, but sun's Linux compiler fails with Boost.Thread (in trunk) on Ubuntu Linux with: </p> <p> "../../../boost/thread/pthread/mutex.hpp", line 142: Error: The function "pthread_mutex_timedlock" must have a prototype. "../../../boost/thread/pthread/mutex.hpp", line 142: Error: The function "pthread_mutex_timedlock" must have a prototype. </p> <p> Which is pretty annoying when you're trying to test code that depends on Boost.Thread! </p> <p> It seems that _POSIX_TIMEOUTS is defined, but pthread.h still isn't defining pthread_mutex_timedlock, which is guarded by <span class="underline">USE_XOPEN2K which is *not* set :-( </span></p> <p> John. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3639 Trac 1.4.3 viboes Fri, 20 Nov 2009 10:29:09 GMT <link>https://svn.boost.org/trac10/ticket/3639#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3639#comment:1</guid> <description> <p> Cygwin doesn't defines pthread_mutex_timedlock. The emulation provided for cygwin should be good in this case. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Wed, 09 Jun 2010 19:30:46 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3639#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3639#comment:2</guid> <description> <p> Could you attach the pthread.h file on this platform? What is the usual way to set USE_XOPEN2K? Can you try by setting it directly? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Wed, 09 Jun 2010 20:34:10 GMT</pubDate> <title>cc set https://svn.boost.org/trac10/ticket/3639#comment:3 https://svn.boost.org/trac10/ticket/3639#comment:3 <ul> <li><strong>cc</strong> <span class="trac-author">viboes</span> added </li> </ul> Ticket John Maddock Thu, 15 Jul 2010 16:10:03 GMT <link>https://svn.boost.org/trac10/ticket/3639#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3639#comment:4</guid> <description> <p> Apologies for the long delay, setting _ _USE_XOPEN2K doesn't work as features.h #undef's it. </p> <p> It gets set when _POSIX_C_SOURCE is &gt;= 200112L (setting this on the command line does fix the issue BTW), but by default sun sets _POSIX_C_SOURCE to 199506L. So I think that the correct fix for enabling the feature is to check that _POSIX_TIMEOUTS is set, and that _POSIX_C_SOURCE &gt;= 200112L as well. pthread.h BTW is the standard Linux system one. </p> <p> HTH, John. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Sun, 28 Nov 2010 15:51:59 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/3639 https://svn.boost.org/trac10/ticket/3639 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">timed_mutex.patch</span> </li> </ul> <p> _POSIX_C_SOURCE&gt;=200112 </p> Ticket viboes Sun, 28 Nov 2010 15:53:02 GMT type changed https://svn.boost.org/trac10/ticket/3639#comment:5 https://svn.boost.org/trac10/ticket/3639#comment:5 <ul> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Patches</span> </li> </ul> <p> I don't know if the attached patch solve the issue. Someone ca test it? </p> Ticket John Maddock Mon, 29 Nov 2010 13:14:49 GMT <link>https://svn.boost.org/trac10/ticket/3639#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3639#comment:6</guid> <description> <p> That does indeed fix the basic issue, there are still test failures though as noted below. </p> <pre class="wiki">...patience... ...found 1658 targets... ...updating 88 targets... sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_move.o &gt;&gt; Assertion: unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635) while processing test_thread_move.cpp at line 16. "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_move.o" "test_thread_move.cpp" ...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_move.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_move for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_move.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_move.run for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_move... sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_move.o &gt;&gt; Assertion: unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635) while processing test_thread_move.cpp at line 16. "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_move.o" "test_thread_move.cpp" ...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_move.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_move_lib for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_move.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_move_lib.run for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_move_lib... sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_return_local.o &gt;&gt; Assertion: unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635) while processing test_thread_return_local.cpp at line 15. "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_return_local.o" "test_thread_return_local.cpp" ...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_return_local.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_return_local for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_return_local.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_return_local.run for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_return_local... sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_return_local.o &gt;&gt; Assertion: unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635) while processing test_thread_return_local.cpp at line 15. "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_return_local.o" "test_thread_return_local.cpp" ...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_return_local.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_return_local_lib for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_return_local.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_return_local_lib.run for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_return_local_lib... sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_move_return.o &gt;&gt; Assertion: unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635) while processing test_thread_move_return.cpp at line 15. "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_move_return.o" "test_thread_move_return.cpp" ...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_move_return.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_move_return for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_move_return.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_move_return.run for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_move_return... sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_move_return.o &gt;&gt; Assertion: unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635) while processing test_thread_move_return.cpp at line 15. "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_move_return.o" "test_thread_move_return.cpp" ...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_move_return.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_move_return_lib for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_move_return.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_move_return_lib.run for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_move_return_lib... sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_launching.o &gt;&gt; Assertion: unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635) while processing test_thread_launching.cpp at line 35. "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_launching.o" "test_thread_launching.cpp" ...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_launching.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_launching for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_launching.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_launching.run for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_launching... sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_launching.o &gt;&gt; Assertion: unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635) while processing test_thread_launching.cpp at line 35. "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_launching.o" "test_thread_launching.cpp" ...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_launching.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_launching_lib for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_launching.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_launching_lib.run for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_launching_lib... sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_mf.o &gt;&gt; Assertion: unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635) while processing test_thread_mf.cpp at line 52. "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_mf.o" "test_thread_mf.cpp" ...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_mf.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_mf for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_mf.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_mf.run for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_mf... sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_mf.o &gt;&gt; Assertion: unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635) while processing test_thread_mf.cpp at line 52. "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_mf.o" "test_thread_mf.cpp" ...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_mf.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_mf_lib for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_mf.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_mf_lib.run for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_mf_lib... sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_exit.o "../../../boost/thread/future.hpp", line 422: Error: boost::unique_lock&lt;boost::mutex&gt;::operator=(boost::unique_lock&lt;boost::mutex&gt;&amp;) is not accessible from boost::detail::future_waiter::all_futures_lock::all_futures_lock(std::vector&lt;boost::detail::future_waiter::registered_waiter&gt;&amp;). 1 Error(s) detected. "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_exit.o" "test_thread_exit.cpp" ...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_exit.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_exit for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_exit.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_exit.run for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_exit... sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_exit.o "../../../boost/thread/future.hpp", line 422: Error: boost::unique_lock&lt;boost::mutex&gt;::operator=(boost::unique_lock&lt;boost::mutex&gt;&amp;) is not accessible from boost::detail::future_waiter::all_futures_lock::all_futures_lock(std::vector&lt;boost::detail::future_waiter::registered_waiter&gt;&amp;). 1 Error(s) detected. "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_exit.o" "test_thread_exit.cpp" ...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_exit.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_exit_lib for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_exit.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_exit_lib.run for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_thread_exit_lib... sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_move_function.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_move_function.o "test_move_function.cpp", line 38: Error: boost::thread::thread(boost::thread&amp;) is not accessible from start_thread(). "test_move_function.cpp", line 43: Error: boost::thread::thread(boost::thread&amp;) is not accessible from test_thread_move_from_rvalue_on_construction(). "test_move_function.cpp", line 71: Error: boost::unique_lock&lt;boost::mutex&gt;::unique_lock(boost::unique_lock&lt;boost::mutex&gt;&amp;) is not accessible from get_lock(boost::mutex&amp;). "test_move_function.cpp", line 78: Error: boost::unique_lock&lt;boost::mutex&gt;::unique_lock(boost::unique_lock&lt;boost::mutex&gt;&amp;) is not accessible from test_unique_lock_move_from_rvalue_on_construction(). 4 Error(s) detected. "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_move_function.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_move_function.o" "test_move_function.cpp" ...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_move_function.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_move_function.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_move_function.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_move_function for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_move_function.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_move_function.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_move_function.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_move_function.run for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_move_function.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_move_function... sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_move_function_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_move_function.o "test_move_function.cpp", line 38: Error: boost::thread::thread(boost::thread&amp;) is not accessible from start_thread(). "test_move_function.cpp", line 43: Error: boost::thread::thread(boost::thread&amp;) is not accessible from test_thread_move_from_rvalue_on_construction(). "test_move_function.cpp", line 71: Error: boost::unique_lock&lt;boost::mutex&gt;::unique_lock(boost::unique_lock&lt;boost::mutex&gt;&amp;) is not accessible from get_lock(boost::mutex&amp;). "test_move_function.cpp", line 78: Error: boost::unique_lock&lt;boost::mutex&gt;::unique_lock(boost::unique_lock&lt;boost::mutex&gt;&amp;) is not accessible from test_unique_lock_move_from_rvalue_on_construction(). 4 Error(s) detected. "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_move_function_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_move_function.o" "test_move_function.cpp" ...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_move_function_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_move_function.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_move_function_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_move_function_lib for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_move_function_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_move_function.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_move_function_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_move_function_lib.run for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_move_function_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_move_function_lib... sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_mutex.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_mutex.o &gt;&gt; Assertion: unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635) while processing test_mutex.cpp at line 0. "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_mutex.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_mutex.o" "test_mutex.cpp" ...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_mutex.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_mutex.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_mutex.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_mutex for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_mutex.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_mutex.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_mutex.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_mutex.run for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_mutex.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_mutex... sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_mutex_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_mutex.o &gt;&gt; Assertion: unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635) while processing test_mutex.cpp at line 0. "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_mutex_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_mutex.o" "test_mutex.cpp" ...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_mutex_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_mutex.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_mutex_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_mutex_lib for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_mutex_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_mutex.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_mutex_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_mutex_lib.run for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_mutex_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_mutex_lib... sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_tss.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_tss.o &gt;&gt; Assertion: unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635) while processing test_tss.cpp at line 284. "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_tss.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_tss.o" "test_tss.cpp" ...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_tss.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_tss.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_tss.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_tss for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_tss.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_tss.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_tss.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_tss.run for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_tss.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_tss... sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_tss_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_tss.o &gt;&gt; Assertion: unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635) while processing test_tss.cpp at line 284. "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_tss_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_tss.o" "test_tss.cpp" ...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_tss_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_tss.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_tss_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_tss_lib for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_tss_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_tss.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_tss_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_tss_lib.run for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_tss_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_tss_lib... sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_lock_concept.o &gt;&gt; Assertion: unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635) while processing test_lock_concept.cpp at line 526. "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_lock_concept.o" "test_lock_concept.cpp" ...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_lock_concept.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_lock_concept for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_lock_concept.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_lock_concept.run for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_lock_concept... sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_lock_concept.o &gt;&gt; Assertion: unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635) while processing test_lock_concept.cpp at line 526. "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_lock_concept.o" "test_lock_concept.cpp" ...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_lock_concept.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_lock_concept_lib for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_lock_concept.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_lock_concept_lib.run for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_lock_concept_lib... sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_futures.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_futures.o "../../../boost/thread/future.hpp", line 422: Error: boost::unique_lock&lt;boost::mutex&gt;::operator=(boost::unique_lock&lt;boost::mutex&gt;&amp;) is not accessible from boost::detail::future_waiter::all_futures_lock::all_futures_lock(std::vector&lt;boost::detail::future_waiter::registered_waiter&gt;&amp;). "test_futures.cpp", line 92: Error: boost::unique_future&lt;int&gt;::unique_future(boost::unique_future&lt;int&gt;&amp;) is not accessible from test_store_value_from_thread(). Error: Cannot continue processing because of prior errors. "../../../boost/type_traits/is_arithmetic.hpp", line 34: Where: While specializing "boost::is_integral&lt;?&amp;&gt;". "../../../boost/type_traits/is_arithmetic.hpp", line 34: Where: Specialized in boost::detail::is_arithmetic_impl&lt;?&amp;&gt;. "../../../boost/type_traits/is_arithmetic.hpp", line 44: Where: Specialized in boost::is_arithmetic&lt;?&amp;&gt;. "../../../boost/type_traits/is_convertible.hpp", line 354: Where: Specialized in boost::detail::is_convertible_impl_dispatch_base&lt;?&amp;, boost::detail::thread_move_t&lt;?&amp;&gt;&gt;. "../../../boost/type_traits/is_convertible.hpp", line 372: Where: Specialized in boost::detail::is_convertible_impl_dispatch&lt;?&amp;, boost::detail::thread_move_t&lt;?&amp;&gt;&gt;. "../../../boost/type_traits/is_convertible.hpp", line 418: Where: Specialized in boost::is_convertible&lt;?&amp;, boost::detail::thread_move_t&lt;?&amp;&gt;&gt;. "../../../boost/utility/enable_if.hpp", line 59: Where: Specialized in boost::disable_if&lt;boost::is_convertible&lt;?&amp;, boost::detail::thread_move_t&lt;?&amp;&gt;&gt;, boost::thread::dummy*&gt;. "test_futures.cpp", line 93: Where: Specialized in non-template code. Compilation aborted. "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_futures.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_futures.o" "test_futures.cpp" ...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_futures.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_futures.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_futures.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_futures for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_futures.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_futures.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_futures.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_futures.run for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_futures.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_futures... sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_futures_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_futures.o "../../../boost/thread/future.hpp", line 422: Error: boost::unique_lock&lt;boost::mutex&gt;::operator=(boost::unique_lock&lt;boost::mutex&gt;&amp;) is not accessible from boost::detail::future_waiter::all_futures_lock::all_futures_lock(std::vector&lt;boost::detail::future_waiter::registered_waiter&gt;&amp;). "test_futures.cpp", line 92: Error: boost::unique_future&lt;int&gt;::unique_future(boost::unique_future&lt;int&gt;&amp;) is not accessible from test_store_value_from_thread(). Error: Cannot continue processing because of prior errors. "../../../boost/type_traits/is_arithmetic.hpp", line 34: Where: While specializing "boost::is_integral&lt;?&amp;&gt;". "../../../boost/type_traits/is_arithmetic.hpp", line 34: Where: Specialized in boost::detail::is_arithmetic_impl&lt;?&amp;&gt;. "../../../boost/type_traits/is_arithmetic.hpp", line 44: Where: Specialized in boost::is_arithmetic&lt;?&amp;&gt;. "../../../boost/type_traits/is_convertible.hpp", line 354: Where: Specialized in boost::detail::is_convertible_impl_dispatch_base&lt;?&amp;, boost::detail::thread_move_t&lt;?&amp;&gt;&gt;. "../../../boost/type_traits/is_convertible.hpp", line 372: Where: Specialized in boost::detail::is_convertible_impl_dispatch&lt;?&amp;, boost::detail::thread_move_t&lt;?&amp;&gt;&gt;. "../../../boost/type_traits/is_convertible.hpp", line 418: Where: Specialized in boost::is_convertible&lt;?&amp;, boost::detail::thread_move_t&lt;?&amp;&gt;&gt;. "../../../boost/utility/enable_if.hpp", line 59: Where: Specialized in boost::disable_if&lt;boost::is_convertible&lt;?&amp;, boost::detail::thread_move_t&lt;?&amp;&gt;&gt;, boost::thread::dummy*&gt;. "test_futures.cpp", line 93: Where: Specialized in non-template code. Compilation aborted. "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_futures_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_futures.o" "test_futures.cpp" ...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_futures_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_futures.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_futures_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_futures_lib for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_futures_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_futures.o... ...skipped &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_futures_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_futures_lib.run for lack of &lt;p/home/john/bin/boost/bin.v2/libs/thread/test/test_futures_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi&gt;test_futures_lib... ...failed updating 22 targets... ...skipped 66 targets... </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Sat, 03 Dec 2011 11:06:20 GMT</pubDate> <title>type, milestone changed https://svn.boost.org/trac10/ticket/3639#comment:7 https://svn.boost.org/trac10/ticket/3639#comment:7 <ul> <li><strong>type</strong> <span class="trac-field-old">Patches</span> → <span class="trac-field-new">Bugs</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.42.0</span> → <span class="trac-field-new">To Be Determined</span> </li> </ul> Ticket viboes Sun, 04 Dec 2011 09:32:57 GMT <link>https://svn.boost.org/trac10/ticket/3639#comment:8 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3639#comment:8</guid> <description> <p> See also <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5936" title="#5936: Bugs: Missing prototype for pthread_mutex_timedlock causes Oracle/SUN CC to ... (closed: duplicate)">#5936</a> Missing prototype for pthread_mutex_timedlock causes Oracle/SUN CC to fail on Linux </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Sun, 04 Dec 2011 09:37:16 GMT</pubDate> <title>status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/3639#comment:9 https://svn.boost.org/trac10/ticket/3639#comment:9 <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> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.49.0</span> </li> </ul> <p> Committed in trunk At revision: 75798 </p> Ticket viboes Sun, 04 Dec 2011 23:27:10 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/3639#comment:10 https://svn.boost.org/trac10/ticket/3639#comment:10 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> <p> Let close it after merging </p> Ticket viboes Sat, 10 Dec 2011 11:09:48 GMT owner, status changed https://svn.boost.org/trac10/ticket/3639#comment:11 https://svn.boost.org/trac10/ticket/3639#comment:11 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">viboes</span> </li> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">new</span> </li> </ul> Ticket viboes Sat, 07 Jan 2012 21:50:39 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3639#comment:12 https://svn.boost.org/trac10/ticket/3639#comment:12 <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> Committed in release at <a class="missing ticket">#76291</a> </p> Ticket