From 3558cf31c5c720a5c42bdde473efc3cd5ae127ec Mon Sep 17 00:00:00 2001 From: Emil Dotchevski Date: Sun, 10 Jul 2011 05:45:57 +0000 Subject: [PATCH] Fixing a build glitch in the non-intrusive exception_ptr support (Authorized by Eric) [SVN r72995] --- include/boost/exception/exception.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/boost/exception/exception.hpp b/include/boost/exception/exception.hpp index 6e9d405..9cdfd5c 100644 --- a/include/boost/exception/exception.hpp +++ b/include/boost/exception/exception.hpp @@ -132,7 +132,17 @@ boost } }; +#if defined(__GNUC__) +# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4) +# pragma GCC visibility push (default) +# endif +#endif class exception; +#if defined(__GNUC__) +# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4) +# pragma GCC visibility pop +# endif +#endif template class shared_ptr;