diff options
-rw-r--r-- | nuttx/libxx/libxx_stdthrow.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/nuttx/libxx/libxx_stdthrow.cxx b/nuttx/libxx/libxx_stdthrow.cxx index 588fae264..57f21b602 100644 --- a/nuttx/libxx/libxx_stdthrow.cxx +++ b/nuttx/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(); + } } |