Skip to content
Snippets Groups Projects
Commit 1920f18c authored by patacongo's avatar patacongo
Browse files

Add handler for bad_function_call. Petteri Aimonen patch 0015

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5691 42af7a65-404d-4744-a932-0658087f49c3
parent 59d3cbfe
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment