Opened 13 years ago
Closed 12 years ago
#3886 closed Bugs (fixed)
[patch] boost::thread future.hpp fails to compile with SunStudio 12.1 on Solaris 10
| Reported by: | Owned by: | Anthony Williams | |
|---|---|---|---|
| Milestone: | Boost 1.42.0 | Component: | thread |
| Version: | Boost Development Trunk | Severity: | Problem |
| Keywords: | Cc: |
Description
When compiling the boost::asio examples the following error is produced:
"../../../../../../boost/thread/future.hpp", line 415: Error: Formal argument other of type boost::unique_lock<boost::mutex> in call to boost::unique_lock<boost::mutex>::operator=(boost::unique_lock<boost::mutex>) has an inaccessible copy constructor
None of the boost::thread examples seem to use this functionality as they compile cleanly.
The attached patch allows the ASIO examples to compile and run.
Attachments (1)
Change History (4)
by , 13 years ago
| Attachment: | boost-future-unique_lock.patch added |
|---|
comment:1 by , 12 years ago
| Cc: | added |
|---|
comment:2 by , 12 years ago
| Cc: | removed |
|---|
comment:3 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

This should now work due to the change in SunStudio workarounds in locks.hpp
Please reopen if it is still broken.