Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8212: Boost thread compilation error on Solaris 10
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-03-13 10:21:08
#8212: Boost thread compilation error on Solaris 10
----------------------------------------------------+-----------------------
Reporter: nicolas.jouvray@⦠| Owner: viboes
Type: Bugs | Status: assigned
Milestone: Boost 1.54.0 | Component: thread
Version: Boost 1.53.0 | Severity: Problem
Resolution: | Keywords: compilation, Solaris
----------------------------------------------------+-----------------------
Comment (by nicolas.jouvray@â¦):
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
}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8212#comment:4> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:12 UTC