Rev 5963 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5963 | Rev 6528 | ||
---|---|---|---|
Line 41... | Line 41... | ||
41 | // A replacement for the standard terminate_handler which prints |
41 | // A replacement for the standard terminate_handler which prints |
42 | // more information about the terminating exception (if any) on |
42 | // more information about the terminating exception (if any) on |
43 | // stderr. |
43 | // stderr. |
44 | void __verbose_terminate_handler() |
44 | void __verbose_terminate_handler() |
45 | { |
45 | { |
- | 46 | ||
46 | static bool terminating; |
47 | static bool terminating; |
47 | if (terminating) |
48 | if (terminating) |
48 | { |
49 | { |
49 | fputs("terminate called recursively\n", stderr); |
50 | fputs("terminate called recursively\n", stderr); |
50 | abort (); |
51 | abort (); |