summaryrefslogtreecommitdiff
path: root/boost/exception/exception.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/exception/exception.hpp')
-rw-r--r--boost/exception/exception.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/boost/exception/exception.hpp b/boost/exception/exception.hpp
index d762cf827e..1f2bd9c200 100644
--- a/boost/exception/exception.hpp
+++ b/boost/exception/exception.hpp
@@ -432,6 +432,11 @@ boost
{
}
+#if defined(__GNUC__)
+# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
+# pragma GCC visibility push (default)
+# endif
+#endif
template <class T>
class
clone_impl:
@@ -473,6 +478,11 @@ boost
}
};
}
+#if defined(__GNUC__)
+# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
+# pragma GCC visibility pop
+# endif
+#endif
template <class T>
inline