From c50f832bf8bc2a8df0718b53b36067a541b58d31 Mon Sep 17 00:00:00 2001 From: Emil Dotchevski Date: Tue, 5 Jul 2011 23:53:33 +0000 Subject: [PATCH] Fixing two issues with non-intrusive exception cloning support. [SVN r72924] --- 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;