On Thu, Feb 23, 2017 at 1:44 AM, bebuch via Boost-users <boost-users@lists.boost.org> wrote:
I just tried to compile one of my projects with LLVM-TOT and got a lot of
error massages in boost's shared_ptr implementation because libc++ removes
std::auto_ptr.

auto_ptr has been removed from the upcoming C++17 standard.
 
(I don't use boost::shared_ptr directly, but via parts of boost::dll and
boost:spirit::x3.)

Is there a workaround?

You can either:
* not build with C++17 (-std=c++1z), or
* define the macro _LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR before including any standard library files (on the command-line or in the Jamfile)

-- Marshall