diff options
Diffstat (limited to 'libstdc++-v3/src/debug.cc')
-rw-r--r-- | libstdc++-v3/src/debug.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libstdc++-v3/src/debug.cc b/libstdc++-v3/src/debug.cc index 3375adf1f47..621a1c96727 100644 --- a/libstdc++-v3/src/debug.cc +++ b/libstdc++-v3/src/debug.cc @@ -48,6 +48,15 @@ namespace __gnu_internal namespace __gnu_debug { + void + __fancy_abort(const char* __file, int __line, const char* __function, + const char* __condition) + { + printf("%s:%d: %s: Assertion '%s' failed.\n", __file, __line, + __function, __condition); + abort(); + } + const char* _S_debug_messages[] = { "function requires a valid iterator range [%1.name;, %2.name;)", |