Opened 10 years ago
Closed 10 years ago
#8212 closed Bugs (fixed)
Boost thread compilation error on Solaris 10
Reported by: | Owned by: | viboes | |
---|---|---|---|
Milestone: | Boost 1.54.0 | Component: | thread |
Version: | Boost 1.53.0 | Severity: | Problem |
Keywords: | compilation, Solaris | Cc: |
Description
Boost thread does not compile anymore on Solaris 10.
Logs are :
"./boost/thread/future.hpp", line 3000: Error: boost::unique_future<void>::unique_future(boost::unique_future<void>&) is not accessible from boost::make_future(). 1 Error(s) detected. "CC" -library=stlport4 -xO4 -mt -erroff=%none -m32 -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_DONT_USE_CHRONO -DBOOST_THREAD_POSIX -DNDEBUG -I"." -c -o "bin.v2/libs/thread/build/sun/release/address-model-32/stdlib-sun-stlport/threading-multi/pthread/thread.o" "libs/thread/src/pthread/thread.cpp" ...failed sun.compile.c++ bin.v2/libs/thread/build/sun/release/address-model-32/stdlib-sun-stlport/threading-multi/pthread/thread.o...
This error occurs with and without usage of STL port.
Previous version (1.52.0) is fine.
Attachments (1)
Change History (9)
comment:1 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 10 years ago
comment:4 by , 10 years ago
Sorry but I was not able to test the patch before. I still have an error.
"./boost/thread/future.hpp", line 3244: Error: boost::unique_future<void>::unique_future(boost::unique_future<void>&) is not accessible from boost::make_future(). 1 Error(s) detected. "CC" -xO4 -mt -erroff=%none -m32 -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_DONT_USE_CHRONO -DBOOST_THREAD_POSIX -DNDEBUG -I"." -c -o "bin.v2/libs/thread/build/sun/release/address-model-32/threading-multi/pthread/thread.o" "libs/thread/src/pthread/thread.cpp"
The line 3244 in this revision is the following one ;
inline BOOST_THREAD_FUTURE<void> make_future() { promise<void> p; return p.get_future(); // <-- This one }
comment:6 by , 10 years ago
comment:8 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Committed revision [83525].
Note:
See TracTickets
for help on using tickets.
Does the following patch help?