forked from boostorg/throw_exception
Applying the Boost Exception part of the patch mentioned in #4594.
[SVN r76109]
This commit is contained in:
committed by
Peter Dimov
parent
608406feb6
commit
c15567ab01
@ -310,6 +310,11 @@ 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>
|
||||||
struct
|
struct
|
||||||
error_info_injector:
|
error_info_injector:
|
||||||
@ -326,6 +331,11 @@ 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 * );
|
||||||
@ -373,6 +383,11 @@ 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
|
||||||
class
|
class
|
||||||
clone_base
|
clone_base
|
||||||
{
|
{
|
||||||
@ -386,6 +401,11 @@ boost
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
#if defined(__GNUC__)
|
||||||
|
# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
|
||||||
|
# pragma GCC visibility pop
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
inline
|
inline
|
||||||
void
|
void
|
||||||
|
Reference in New Issue
Block a user