Boost C++ Libraries: Ticket #3886: [patch] boost::thread future.hpp fails to compile with SunStudio 12.1 on Solaris 10 https://svn.boost.org/trac10/ticket/3886 <p> When compiling the boost::asio examples the following error is produced: </p> <p> "../../../../../../boost/thread/future.hpp", line 415: Error: Formal argument other of type boost::unique_lock&lt;boost::mutex&gt; in call to boost::unique_lock&lt;boost::mutex&gt;::operator=(boost::unique_lock&lt;boost::mutex&gt;) has an inaccessible copy constructor </p> <p> None of the boost::thread examples seem to use this functionality as they compile cleanly. </p> <p> The attached patch allows the ASIO examples to compile and run. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3886 Trac 1.4.3 John Keeping <john@…> Mon, 01 Feb 2010 16:54:27 GMT attachment set https://svn.boost.org/trac10/ticket/3886 https://svn.boost.org/trac10/ticket/3886 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-future-unique_lock.patch</span> </li> </ul> Ticket viboes Wed, 09 Jun 2010 20:33:05 GMT cc set https://svn.boost.org/trac10/ticket/3886#comment:1 https://svn.boost.org/trac10/ticket/3886#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">viboes</span> added </li> </ul> Ticket viboes Wed, 09 Jun 2010 20:34:34 GMT cc deleted https://svn.boost.org/trac10/ticket/3886#comment:2 https://svn.boost.org/trac10/ticket/3886#comment:2 <ul> <li><strong>cc</strong> <span class="trac-author">viboes</span> removed </li> </ul> Ticket Anthony Williams Thu, 10 Jun 2010 09:18:13 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3886#comment:3 https://svn.boost.org/trac10/ticket/3886#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> <p> This should now work due to the change in <a class="missing wiki">SunStudio</a> workarounds in locks.hpp </p> <p> Please reopen if it is still broken. </p> Ticket