diff --git a/include/boost/smart_ptr/detail/atomic_count.hpp b/include/boost/smart_ptr/detail/atomic_count.hpp index 749b3f0..0ed3cb3 100644 --- a/include/boost/smart_ptr/detail/atomic_count.hpp +++ b/include/boost/smart_ptr/detail/atomic_count.hpp @@ -45,6 +45,7 @@ #include #include +#include #include #if defined( BOOST_AC_DISABLE_THREADS ) diff --git a/include/boost/smart_ptr/detail/deprecated_macros.hpp b/include/boost/smart_ptr/detail/deprecated_macros.hpp new file mode 100644 index 0000000..7f5786d --- /dev/null +++ b/include/boost/smart_ptr/detail/deprecated_macros.hpp @@ -0,0 +1,52 @@ +#ifndef BOOST_SMART_PTR_DETAIL_DEPRECATED_MACROS_HPP_INCLUDED +#define BOOST_SMART_PTR_DETAIL_DEPRECATED_MACROS_HPP_INCLUDED + +// Copyright 2024 Peter Dimov +// Distributed under the Boost Software License, Version 1.0. +// https://www.boost.org/LICENSE_1_0.txt + +#include + +#if defined(BOOST_SP_ENABLE_DEBUG_HOOKS) + +BOOST_PRAGMA_MESSAGE("The macro BOOST_SP_ENABLE_DEBUG_HOOKS has been deprecated in 1.87 and support for it will be removed.") + +#endif + +#if defined(BOOST_SP_USE_STD_ALLOCATOR) + +BOOST_PRAGMA_MESSAGE("The macro BOOST_SP_USE_STD_ALLOCATOR has been deprecated in 1.87 and support for it will be removed.") + +#endif + +#if defined(BOOST_SP_USE_QUICK_ALLOCATOR) + +BOOST_PRAGMA_MESSAGE("The macro BOOST_SP_USE_QUICK_ALLOCATOR has been deprecated in 1.87 and support for it will be removed.") + +#endif + +#if defined(BOOST_AC_USE_SPINLOCK) + +BOOST_PRAGMA_MESSAGE("The macro BOOST_AC_USE_SPINLOCK has been deprecated in 1.87 and support for it will be removed.") + +#endif + +#if defined(BOOST_AC_USE_PTHREADS) + +BOOST_PRAGMA_MESSAGE("The macro BOOST_AC_USE_PTHREADS has been deprecated in 1.87 and support for it will be removed.") + +#endif + +#if defined(BOOST_SP_USE_SPINLOCK) + +BOOST_PRAGMA_MESSAGE("The macro BOOST_SP_USE_SPINLOCK has been deprecated in 1.87 and support for it will be removed.") + +#endif + +#if defined(BOOST_SP_USE_PTHREADS) + +BOOST_PRAGMA_MESSAGE("The macro BOOST_SP_USE_PTHREADS has been deprecated in 1.87 and support for it will be removed.") + +#endif + +#endif // #ifndef BOOST_SMART_PTR_DETAIL_DEPRECATED_MACROS_HPP_INCLUDED diff --git a/include/boost/smart_ptr/detail/shared_count.hpp b/include/boost/smart_ptr/detail/shared_count.hpp index 09daf90..1a79f48 100644 --- a/include/boost/smart_ptr/detail/shared_count.hpp +++ b/include/boost/smart_ptr/detail/shared_count.hpp @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/include/boost/smart_ptr/detail/sp_counted_base.hpp b/include/boost/smart_ptr/detail/sp_counted_base.hpp index 536926a..d670083 100644 --- a/include/boost/smart_ptr/detail/sp_counted_base.hpp +++ b/include/boost/smart_ptr/detail/sp_counted_base.hpp @@ -19,6 +19,7 @@ #include #include +#include #include #if defined( BOOST_SP_DISABLE_THREADS ) diff --git a/include/boost/smart_ptr/detail/sp_counted_impl.hpp b/include/boost/smart_ptr/detail/sp_counted_impl.hpp index bb3c70f..cc63232 100644 --- a/include/boost/smart_ptr/detail/sp_counted_impl.hpp +++ b/include/boost/smart_ptr/detail/sp_counted_impl.hpp @@ -24,6 +24,7 @@ #include #include +#include #include #include #include diff --git a/include/boost/smart_ptr/detail/spinlock.hpp b/include/boost/smart_ptr/detail/spinlock.hpp index 26e1b08..1c90bec 100644 --- a/include/boost/smart_ptr/detail/spinlock.hpp +++ b/include/boost/smart_ptr/detail/spinlock.hpp @@ -30,6 +30,7 @@ #include #include +#include #include #if defined( BOOST_SP_USE_STD_ATOMIC ) diff --git a/include/boost/smart_ptr/scoped_array.hpp b/include/boost/smart_ptr/scoped_array.hpp index aa38bfa..ea0367d 100644 --- a/include/boost/smart_ptr/scoped_array.hpp +++ b/include/boost/smart_ptr/scoped_array.hpp @@ -11,6 +11,7 @@ // See http://www.boost.org/libs/smart_ptr/ for documentation. #include +#include #include #include #include diff --git a/include/boost/smart_ptr/scoped_ptr.hpp b/include/boost/smart_ptr/scoped_ptr.hpp index 148d6ec..1e53800 100644 --- a/include/boost/smart_ptr/scoped_ptr.hpp +++ b/include/boost/smart_ptr/scoped_ptr.hpp @@ -12,6 +12,7 @@ #include #include +#include #include #include #include