Boost logo

Boost :

From: (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:

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>

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:

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!
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at