update boost on linux

This commit is contained in:
Bassem Girgis
2019-08-10 16:06:25 -05:00
parent 76ad52be58
commit 861b918727
5363 changed files with 483306 additions and 116507 deletions

View File

@@ -10,14 +10,6 @@
#include <boost/config.hpp>
#include <boost/detail/workaround.hpp>
#ifndef BOOST_COROUTINES_NO_DEPRECATION_WARNING
# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__)
# pragma message ("Warning: Boost.Coroutine is now deprecated. Please switch to Boost.Coroutine2. To disable this warning message, define BOOST_COROUTINES_NO_DEPRECATION_WARNING.")
# elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__)
# warning "Boost.Coroutine is now deprecated. Please switch to Boost.Coroutine2. To disable this warning message, define BOOST_COROUTINES_NO_DEPRECATION_WARNING."
# endif
#endif
#ifdef BOOST_COROUTINES_DECL
# undef BOOST_COROUTINES_DECL
#endif

View File

@@ -22,7 +22,7 @@ namespace boost {
namespace coroutines {
namespace detail {
struct preallocated {
struct BOOST_COROUTINES_DECL preallocated {
void * sp;
std::size_t size;
stack_context sctx;

View File

@@ -9,6 +9,7 @@
#include <boost/assert.hpp>
#include <boost/config.hpp>
#include <boost/context/detail/config.hpp>
#include <boost/cstdint.hpp>
#include <boost/exception_ptr.hpp>
#include <boost/move/move.hpp>
@@ -115,6 +116,10 @@ public:
{ fn_( push_coro); }
catch ( forced_unwind const&)
{}
#if defined( BOOST_CONTEXT_HAS_CXXABI_H )
catch ( abi::__forced_unwind const&)
{ throw; }
#endif
catch (...)
{ base_t::except_ = current_exception(); }
@@ -198,6 +203,10 @@ public:
{ fn_( push_coro); }
catch ( forced_unwind const&)
{}
#if defined( BOOST_CONTEXT_HAS_CXXABI_H )
catch ( abi::__forced_unwind const&)
{ throw; }
#endif
catch (...)
{ base_t::except_ = current_exception(); }
@@ -281,6 +290,10 @@ public:
{ fn_( push_coro); }
catch ( forced_unwind const&)
{}
#if defined( BOOST_CONTEXT_HAS_CXXABI_H )
catch ( abi::__forced_unwind const&)
{ throw; }
#endif
catch (...)
{ base_t::except_ = current_exception(); }

View File

@@ -54,6 +54,8 @@ public:
if ( unwind) flags_ |= flag_force_unwind;
}
virtual ~push_coroutine_impl() {}
bool force_unwind() const BOOST_NOEXCEPT
{ return 0 != ( flags_ & flag_force_unwind); }
@@ -144,6 +146,8 @@ public:
if ( unwind) flags_ |= flag_force_unwind;
}
virtual ~push_coroutine_impl() {}
bool force_unwind() const BOOST_NOEXCEPT
{ return 0 != ( flags_ & flag_force_unwind); }
@@ -217,6 +221,8 @@ public:
if ( unwind) flags_ |= flag_force_unwind;
}
virtual ~push_coroutine_impl() {}
inline bool force_unwind() const BOOST_NOEXCEPT
{ return 0 != ( flags_ & flag_force_unwind); }

View File

@@ -9,6 +9,7 @@
#include <boost/assert.hpp>
#include <boost/config.hpp>
#include <boost/context/detail/config.hpp>
#include <boost/cstdint.hpp>
#include <boost/exception_ptr.hpp>
#include <boost/move/move.hpp>
@@ -127,6 +128,10 @@ public:
{ fn_( pull_coro); }
catch ( forced_unwind const&)
{}
#if defined( BOOST_CONTEXT_HAS_CXXABI_H )
catch ( abi::__forced_unwind const&)
{ throw; }
#endif
catch (...)
{ base_t::except_ = current_exception(); }
@@ -210,6 +215,10 @@ public:
{ fn_( push_coro); }
catch ( forced_unwind const&)
{}
#if defined( BOOST_CONTEXT_HAS_CXXABI_H )
catch ( abi::__forced_unwind const&)
{ throw; }
#endif
catch (...)
{ base_t::except_ = current_exception(); }
@@ -293,6 +302,10 @@ public:
{ fn_( push_coro); }
catch ( forced_unwind const&)
{}
#if defined( BOOST_CONTEXT_HAS_CXXABI_H )
catch ( abi::__forced_unwind const&)
{ throw; }
#endif
catch (...)
{ base_t::except_ = current_exception(); }