Boost C++ Libraries: Ticket #400: compiler error on Mac implementation of threads https://svn.boost.org/trac10/ticket/400 <pre class="wiki">e-mail: myoula@videotron.ca With CW 9.4, Carbon (no Mach-O), and BOOST_HAS_MPTASKS defined I got: Error : illegal use of incomplete struct/union/class 'boost:: function&lt;long, long&gt;' safe.cpp line 50 boost::function&lt;OSStatus, Duration&gt; oWaitOnSemaphore; The error statement is marqued below by --&gt; OSStatus safe_wait_on_semaphore(MPSemaphoreID pSemaphoreID, Duration lDuration) { --&gt;boost::function&lt;OSStatus, Duration&gt; oWaitOnSemaphore; oWaitOnSemaphore = bind(MPWaitOnSemaphore, pSemaphoreID, _1); return(safe_wait(oWaitOnSemaphore, lDuration)); } </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/400 Trac 1.4.3 Roland Schwarz Thu, 13 Apr 2006 16:53:19 GMT status changed https://svn.boost.org/trac10/ticket/400#comment:1 https://svn.boost.org/trac10/ticket/400#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=541730 This bug is beeing closed, since support for MPTasks is beeing dropped. Users are encouraged to use boost.thread on pthreads, which is available on the newer platforms. </pre> Ticket