From 36d91e1f88660a8b11147a15a05c60b8f0f0d9f0 Mon Sep 17 00:00:00 2001 From: anonymous Date: Tue, 4 Jan 2011 04:32:24 +0600 Subject: fix for COMPILER-8902: terminate handler should be called if it was set using std::set_terminate --- src/exception.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exception.cc b/src/exception.cc index ecc3732..740eee4 100644 --- a/src/exception.cc +++ b/src/exception.cc @@ -488,7 +488,7 @@ extern "C" void __cxa_throw(void *thrown_exception, info->globals.uncaughtExceptions++; _Unwind_Reason_Code err = _Unwind_RaiseException(&ex->unwindHeader); - report_failure(err, thrown_exception); + std::terminate(); } /** -- cgit v1.2.3