Index: src/cxa_exception.hpp =================================================================== --- src/cxa_exception.hpp +++ src/cxa_exception.hpp @@ -28,6 +28,13 @@ void __setExceptionClass ( _Unwind_Exception*, uint64_t); bool __isOurExceptionClass(const _Unwind_Exception*); +#if defined(__arm__) && defined(__ARM_EABI_UNWINDER__) +// missing values from _Unwind_Reason_Code enum +#define _URC_FATAL_PHASE2_ERROR ((_Unwind_Reason_Code)2) +#define _URC_FATAL_PHASE1_ERROR ((_Unwind_Reason_Code)3) +#define _URC_NORMAL_STOP ((_Unwind_Reason_Code)4) +#endif + struct _LIBCXXABI_HIDDEN __cxa_exception { #if defined(__LP64__) || defined(_LIBCXXABI_ARM_EHABI) // This is a new field to support C++ 0x exception_ptr.