summaryrefslogtreecommitdiffstats
path: root/9/sources/cxx-stl/EH/gabi++/include
diff options
context:
space:
mode:
Diffstat (limited to '9/sources/cxx-stl/EH/gabi++/include')
-rw-r--r--9/sources/cxx-stl/EH/gabi++/include/gabixx_config.h3
-rw-r--r--9/sources/cxx-stl/EH/gabi++/include/new17
2 files changed, 20 insertions, 0 deletions
diff --git a/9/sources/cxx-stl/EH/gabi++/include/gabixx_config.h b/9/sources/cxx-stl/EH/gabi++/include/gabixx_config.h
index 718b919..d16a6be 100644
--- a/9/sources/cxx-stl/EH/gabi++/include/gabixx_config.h
+++ b/9/sources/cxx-stl/EH/gabi++/include/gabixx_config.h
@@ -53,6 +53,9 @@
// never be exposed to client code.
#define _GABIXX_HIDDEN __attribute__((__visibility__("hidden")))
+// Use _GABIXX_DEFAULT to prevent user command -fvisibility=hidden
+#define _GABIXX_DEFAULT __attribute__((__visibility__("default")))
+
// Use _GABIXX_WEAK to define a symbol with weak linkage.
#define _GABIXX_WEAK __attribute__((__weak__))
diff --git a/9/sources/cxx-stl/EH/gabi++/include/new b/9/sources/cxx-stl/EH/gabi++/include/new
index 1643e01..935731d 100644
--- a/9/sources/cxx-stl/EH/gabi++/include/new
+++ b/9/sources/cxx-stl/EH/gabi++/include/new
@@ -48,6 +48,23 @@ public:
virtual const char* what() const throw();
};
+class bad_array_new_length : public bad_alloc {
+public:
+ bad_array_new_length() throw();
+ virtual ~bad_array_new_length() throw();
+ virtual const char* what() const throw();
+};
+
+#if __cplusplus > 201103L
+// C++14 stuff
+class bad_array_length : public bad_alloc {
+public:
+ bad_array_length() throw();
+ virtual ~bad_array_length() throw();
+ virtual const char* what() const throw();
+};
+#endif
+
typedef void (*new_handler)();
new_handler set_new_handler(new_handler) throw();
new_handler get_new_handler() throw();