------- Comment #10 from redi at gcc dot gnu dot org 2010-04-29 22:56 ------- (In reply to comment #9) > you're throwing a string literal and trying to catch a char*, that's invalid
I should clarify that - it's not invalid to TRY to catch a char* but it will fail, and the program will terminate conversions from string literals to (non-const) char* are not valid, and that's why the exception isn't caught -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34778