From 7b9e5f8d6be9334a14befc3623977bb241fdff3f Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Tue, 18 Aug 2015 18:09:15 +0100 Subject: [PATCH] std::shared_ptr is only partly usable on Oracle, disable for now. --- include/boost/config/stdlib/libstdcpp3.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/boost/config/stdlib/libstdcpp3.hpp b/include/boost/config/stdlib/libstdcpp3.hpp index 7d27b0cc..9718bedc 100644 --- a/include/boost/config/stdlib/libstdcpp3.hpp +++ b/include/boost/config/stdlib/libstdcpp3.hpp @@ -251,6 +251,10 @@ #define BOOST_NO_CXX11_HDR_FUTURE #define BOOST_NO_CXX11_HDR_FORWARD_LIST #define BOOST_NO_CXX11_HDR_ATOMIC +// shared_ptr is present, but is not convertible to bool +// which causes all kinds of problems especially in Boost.Thread +// but probably elsewhere as well. +#define BOOST_NO_CXX11_SMART_PTR #endif #if (!defined(_GLIBCXX_HAS_GTHREADS) || !defined(_GLIBCXX_USE_C99_STDINT_TR1))