diff --git a/libxx/libxx_stdthrow.cxx b/libxx/libxx_stdthrow.cxx index 588fae26429..57f21b602ae 100644 --- a/libxx/libxx_stdthrow.cxx +++ b/libxx/libxx_stdthrow.cxx @@ -62,8 +62,8 @@ namespace std void __throw_length_error(const char*) { - dbg("C++: Vector resize to excessive length\n"); - abort(); + dbg("C++: Vector resize to excessive length\n"); + abort(); } void __throw_bad_alloc() @@ -71,4 +71,10 @@ namespace std dbg("C++: Bad allocation\n"); abort(); } + + void __throw_bad_function_call() + { + dbg("C++: Bad function call\n"); + abort(); + } }