Merge branch 'develop' of https://github.com/epvbergen/throw_exception into feature/symbol-visible

This commit is contained in:
Peter Dimov
2018-09-27 00:52:07 +03:00

View File

@ -143,17 +143,8 @@ boost
} }
}; };
#if defined(__GNUC__) BOOST_SYMBOL_VISIBLE
# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
# pragma GCC visibility push (default)
# endif
#endif
class exception; class exception;
#if defined(__GNUC__)
# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
# pragma GCC visibility pop
# endif
#endif
namespace namespace
exception_detail exception_detail
@ -219,11 +210,7 @@ boost
E const & set_info( E const &, throw_line const & ); E const & set_info( E const &, throw_line const & );
} }
#if defined(__GNUC__) BOOST_SYMBOL_VISIBLE
# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
# pragma GCC visibility push (default)
# endif
#endif
class class
exception exception
{ {
@ -296,11 +283,6 @@ boost
mutable char const * throw_file_; mutable char const * throw_file_;
mutable int throw_line_; mutable int throw_line_;
}; };
#if defined(__GNUC__)
# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
# pragma GCC visibility pop
# endif
#endif
inline inline
exception:: exception::
@ -341,12 +323,8 @@ boost
namespace namespace
exception_detail exception_detail
{ {
#if defined(__GNUC__)
# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
# pragma GCC visibility push (default)
# endif
#endif
template <class T> template <class T>
BOOST_SYMBOL_VISIBLE
struct struct
error_info_injector: error_info_injector:
public T, public T,
@ -362,11 +340,6 @@ boost
{ {
} }
}; };
#if defined(__GNUC__)
# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
# pragma GCC visibility pop
# endif
#endif
struct large_size { char c[256]; }; struct large_size { char c[256]; };
large_size dispatch_boost_exception( exception const * ); large_size dispatch_boost_exception( exception const * );
@ -414,11 +387,7 @@ boost
namespace namespace
exception_detail exception_detail
{ {
#if defined(__GNUC__) BOOST_SYMBOL_VISIBLE
# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
# pragma GCC visibility push (default)
# endif
#endif
class class
clone_base clone_base
{ {
@ -432,11 +401,6 @@ boost
{ {
} }
}; };
#if defined(__GNUC__)
# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
# pragma GCC visibility pop
# endif
#endif
inline inline
void void
@ -457,12 +421,8 @@ boost
{ {
} }
#if defined(__GNUC__)
# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
# pragma GCC visibility push (default)
# endif
#endif
template <class T> template <class T>
BOOST_SYMBOL_VISIBLE
class class
clone_impl: clone_impl:
public T, public T,
@ -503,11 +463,6 @@ boost
} }
}; };
} }
#if defined(__GNUC__)
# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
# pragma GCC visibility pop
# endif
#endif
template <class T> template <class T>
inline inline