Opened 17 years ago
Closed 17 years ago
#400 closed Bugs (None)
compiler error on Mac implementation of threads
Reported by: | nobody | Owned by: | Roland Schwarz |
---|---|---|---|
Milestone: | Component: | threads | |
Version: | None | Severity: | |
Keywords: | Cc: |
Description
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<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)); }
Note:
See TracTickets
for help on using tickets.