Opened 8 years ago
Closed 8 years ago
#10428 closed Bugs (fixed)
Adapt to new unique_ptr interface in Boost.Move
| Reported by: | viboes | Owned by: | viboes | 
|---|---|---|---|
| Milestone: | Boost 1.57.0 | Component: | thread | 
| Version: | Boost Development Trunk | Severity: | Problem | 
| Keywords: | Cc: | 
Description
Boost.Thread made use of some internals of Boost.Interprocess that have been changed lately and moved to Boost.Move. This is causing some compile errors for std libs not providing smart pointers.
Test output: Sandia-darwin-4.2.1 - thread - async__async_executor_p / darwin-4.2.1
Rev 1426f576939a80f1a4a5df22eae071965920108b / Sat, 30 Aug 2014 00:16:08 +0000
Compile [2014-08-30 01:37:47 UTC]: fail
    "g++"  -ftemplate-depth-128 -O0 -fno-inline -Wall -pedantic -g -dynamic -gdwarf-2 -fexceptions -Wno-long-long -fPIC -Wextra -Wno-long-long -Wno-variadic-macros -Wunused-function -fpermissive -pedantic -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_THROW_IF_PRECONDITION_NOT_SATISFIED -DBOOST_THREAD_USE_DLL=1  -I".." -c -o "/Volumes/scratch/kbelco/boost_testing/results/boost/bin.v2/libs/thread/test/async__async_executor_p.test/darwin-4.2.1/debug/threading-multi/sync/futures/async/async_executor_pass.o" "../libs/thread/test/sync/futures/async/async_executor_pass.cpp"
In file included from ../libs/thread/test/sync/futures/async/async_executor_pass.cpp:31:
../boost/thread/csbl/memory/unique_ptr.hpp:46: error: 'boost::interprocess::ipcdetail' has not been declared
../boost/thread/csbl/memory/unique_ptr.hpp:46: error: expected ',' or '...' before '<' token
../boost/thread/csbl/memory/unique_ptr.hpp:56: error: 'boost::interprocess::ipcdetail' has not been declared
../boost/thread/csbl/memory/unique_ptr.hpp:56: error: expected ',' or '...' before '<' token
../boost/thread/csbl/memory/unique_ptr.hpp: In constructor 'boost::csbl::unique_ptr<T, D>::unique_ptr(typename boost::movelib::unique_ptr<T, D>::pointer, int)':
../boost/thread/csbl/memory/unique_ptr.hpp:49: error: 'd' was not declared in this scope
            
      Change History (3)
comment:1 by , 8 years ago
| Owner: | changed from to | 
|---|---|
| Status: | new → assigned | 
comment:2 by , 8 years ago
| Milestone: | To Be Determined → Boost 1.57.0 | 
|---|
comment:3 by , 8 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | assigned → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    

https://github.com/boostorg/thread/commit/80591fb64def1d1661f3fd4527b1e37e706c5036