Opened 12 years ago

Closed 11 years ago

#5373 closed Bugs (duplicate)

Boost Thread fails on SunStudio/OpenSolaris

Reported by: artyomtnk@… Owned by: Anthony Williams
Milestone: To Be Determined Component: thread
Version: Boost 1.46.0 Severity: Regression
Keywords: Cc:

Description

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.

Attachments (1)

sun-studio-boost-thread-future.hpp.patch (503 bytes ) - added by artyomtnk@… 12 years ago.
Patch for SunStudio issue

Download all attachments as: .zip

Change History (4)

by artyomtnk@…, 12 years ago

Patch for SunStudio issue

comment:2 by Artyom Beilis, 11 years ago

Please can this patch be applied to trunk so Boost.Thread would be little bit more useful with SunStudio. Currently Boost.Locale SunStudio build fails mostly for this reason.

Thanks

comment:3 by viboes, 11 years ago

Milestone: Boost 1.47.0To Be Determined
Resolution: duplicate
Status: newclosed

Duplicate #6175 Compile error with SunStudio

Note: See TracTickets for help on using tickets.