Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2005-05-13 23:36:46


Bugs item #1201779, was opened at 2005-05-13 21:36
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1201779&group_id=7586

Category: threads
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Mike Glassford (glassfordm)
Summary: compiler error on Mac implementation of threads

Initial Comment:
e-mail: myoula_at_[hidden]

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<long, long>'
safe.cpp line 50 boost::function<OSStatus, Duration>
oWaitOnSemaphore;

The error statement is marqued below by -->

OSStatus safe_wait_on_semaphore(MPSemaphoreID
pSemaphoreID, Duration lDuration)
{
        -->boost::function<OSStatus, Duration> oWaitOnSemaphore;
    oWaitOnSemaphore = bind(MPWaitOnSemaphore,
pSemaphoreID, _1);
    return(safe_wait(oWaitOnSemaphore, lDuration));
}

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1201779&group_id=7586

-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk