Boost logo

Boost :

Subject: [boost] [thread] Boost 1.46 and 1.46.1 fails on SunStudio/OpenSolaris
From: Artyom (artyomtnk_at_[hidden])
Date: 2011-03-26 05:59:58


Hello,

I've got failures when tried to use Boost.Thread on OpenSolaris with SunStudio,
I hadn't got such problems with older versions

The error is:

"./boost/thread/future.hpp", line 422: Error:
boost::unique_lock<boost::mutex>::operator=(boost::unique_lock<boost::mutex>&)
is not accessible from
boost::detail::future_waiter::all_futures_lock::all_futures_lock(std::vector<boost::detail::future_waiter::registered_waiter>&).

It wasn't a problem in older versions of Boost. At least 1.41 worked fine for
me.
The patch that fixes this issue is attached.

Artyom

      



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