Re: [Boost-bugs] [Boost C++ Libraries] #10637: Certain thread unit tests fail to compile on Xcode 6

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10637: Certain thread unit tests fail to compile on Xcode 6
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-10-08 21:29:38


#10637: Certain thread unit tests fail to compile on Xcode 6
-------------------------------+------------------------
  Reporter: nat@… | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.56.0 | Severity: Regression
Resolution: | Keywords: tests
-------------------------------+------------------------
Changes (by viboes):

 * owner: anthonyw => viboes
 * status: new => assigned

Comment:

 Oh, I'm really sorry. I believed that you were using clang.

 It seems that default_delete is not movable with your default library. I
 suggest you to patch the code if you can as follows:

 In boost/thread/csbl/memory/unique_ptr.hpp, there is the following check


 {{{
 // 20.8.1 class template unique_ptr:
 #if defined BOOST_NO_CXX11_SMART_PTR
 }}}

 You could either define in your application BOOST_NO_CXX11_SMART_PTR


 or patch it as

 {{{
 // 20.8.1 class template unique_ptr:
 #if 1 || defined BOOST_NO_CXX11_SMART_PTR
 }}}


 BTW, there are no problems
 inhttp://www.boost.org/development/tests/master/developer/thread.html for
 Sandia-darwin-4.2.1
 Please, could you tell me if it works on develop or master branch, so that
 I can see what I can do if it is not the case?

 P.S. in version 1.57 I'm using always movelib::unique_ptr.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10637#comment:6>
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:17 UTC