diff options
-rwxr-xr-x | lib/buildit | 2 | ||||
-rw-r--r-- | src/cxa_handlers.cpp | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/lib/buildit b/lib/buildit index 342543a..8ebae2d 100755 --- a/lib/buildit +++ b/lib/buildit @@ -28,7 +28,7 @@ then fi EXTRA_FLAGS="-std=c++0x -stdlib=libc++ -fstrict-aliasing -Wstrict-aliasing=2 \ - -Wsign-conversion -Wnewline-eof" + -Wsign-conversion -Wshadow -Wnewline-eof" case $TRIPLE in *-apple-*) diff --git a/src/cxa_handlers.cpp b/src/cxa_handlers.cpp index ab41db4..bd3f6f4 100644 --- a/src/cxa_handlers.cpp +++ b/src/cxa_handlers.cpp @@ -177,10 +177,7 @@ terminate() _NOEXCEPT (unwind_exception->exception_class & get_vendor_and_language) == (kOurExceptionClass & get_vendor_and_language); if (native_exception) - { - __cxa_exception* exception_header = (__cxa_exception*)(unwind_exception+1) - 1; __terminate(exception_header->terminateHandler); - } } } __terminate(get_terminate()); |