From 209bda011de3acd540792a1cf59f354b7bad3460 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 7 Oct 2016 23:07:32 -0500 Subject: [PATCH 1/2] Add, and update, documentation build targets. --- doc/Jamfile.v2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index d2347df..c9d0689 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -52,3 +52,9 @@ boostbook standalone_mem_fn generate.manifest=0 ; + +############################################################################### +alias boostdoc ; +explicit boostdoc ; +alias boostrelease : standalone_bind standalone_mem_fn ; +explicit boostrelease ; From 60d3e0f4f3f44af38a8c72bc90d89714c913d96b Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 6 Nov 2016 15:03:25 +0200 Subject: [PATCH 2/2] Remove use of std::auto_ptr, it has been removed in C++17 --- test/bind_function_ap_test.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/bind_function_ap_test.cpp b/test/bind_function_ap_test.cpp index 900a131..67551d3 100644 --- a/test/bind_function_ap_test.cpp +++ b/test/bind_function_ap_test.cpp @@ -10,6 +10,14 @@ // http://www.boost.org/LICENSE_1_0.txt // +#if defined( BOOST_NO_AUTO_PTR ) + +int main() +{ +} + +#else + #if defined( __GNUC__ ) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 406 ) # pragma GCC diagnostic ignored "-Wdeprecated-declarations" #elif defined( __clang__ ) && defined( __has_warning ) @@ -222,3 +230,5 @@ int main() test(); return boost::report_errors(); } + +#endif // #if defined( BOOST_NO_AUTO_PTR )