https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61637
--- Comment #5 from Krishnamoorthy C <chandrakm at hotmail dot com> --- // Throw and catch not working #include <iostream> using namespace std; int main () { try { throw 20; } catch (int e) { cout << "This is not caught " << e << '\n'; } catch (...) { cout << "This is not caught " << e << '\n'; } return 0; } I hope this information is sufficient enough. -Krishna