diff options
author | 2014-07-11 14:10:36 +0000 | |
---|---|---|
committer | 2014-07-11 14:10:36 +0000 | |
commit | eb123a782176fbcff7394bde27a46a0d50dfad25 (patch) | |
tree | dc080e147cec2a7cfde702937aba74083ad3261c | |
parent | additional features: no buffer freelists and no heartbleed (diff) | |
download | wireguard-openbsd-eb123a782176fbcff7394bde27a46a0d50dfad25.tar.xz wireguard-openbsd-eb123a782176fbcff7394bde27a46a0d50dfad25.zip |
make the __cxa_call_terminate() proto match the definition
From dt71 at gmx.com via FreeBSD
Required to build with recent versions of clang.
-rw-r--r-- | gnu/gcc/libstdc++-v3/libsupc++/unwind-cxx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/gcc/libstdc++-v3/libsupc++/unwind-cxx.h b/gnu/gcc/libstdc++-v3/libsupc++/unwind-cxx.h index c5636556434..f69f84df0ea 100644 --- a/gnu/gcc/libstdc++-v3/libsupc++/unwind-cxx.h +++ b/gnu/gcc/libstdc++-v3/libsupc++/unwind-cxx.h @@ -133,7 +133,7 @@ extern "C" void __cxa_bad_typeid (); // throws, and if bad_exception needs to be thrown. Called from the // compiler. extern "C" void __cxa_call_unexpected (void *) __attribute__((noreturn)); -extern "C" void __cxa_call_terminate (void*) __attribute__((noreturn)); +extern "C" void __cxa_call_terminate (_Unwind_Exception*) __attribute__((noreturn)); #ifdef __ARM_EABI_UNWINDER__ // Arm EABI specified routines. |