diff options
Diffstat (limited to 'bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx index edcb46d0da2a..76d031b29a49 100644 --- a/bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx +++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx @@ -21,12 +21,8 @@ #include <typeinfo> #include <exception> -#include <cstddef> -#include <cxxabi.h> -#ifndef _GLIBCXX_CDTOR_CALLABI // new in GCC 4.7 cxxabi.h -#define _GLIBCXX_CDTOR_CALLABI -#endif +#include <cxxabi.h> // we need this here for _LIBCPPABI_VERSION, etc #include <unwind.h> #include <config_cxxabi.h> @@ -153,19 +149,19 @@ struct __cxa_eh_globals { #if !HAVE_CXXABI_H_CXA_GET_GLOBALS namespace __cxxabiv1 { -extern "C" __cxa_eh_globals * __cxa_get_globals() throw(); +extern "C" __cxa_eh_globals * __cxa_get_globals() noexcept; } #endif #if !HAVE_CXXABI_H_CXA_CURRENT_EXCEPTION_TYPE namespace __cxxabiv1 { -extern "C" std::type_info *__cxa_current_exception_type() throw(); +extern "C" std::type_info *__cxa_current_exception_type() noexcept; } #endif #if !HAVE_CXXABI_H_CXA_ALLOCATE_EXCEPTION namespace __cxxabiv1 { -extern "C" void * __cxa_allocate_exception(std::size_t thrown_size) throw(); +extern "C" void * __cxa_allocate_exception(std::size_t thrown_size) noexcept; } #endif |