Subject: g++ exceptions
To: None <tech-userlevel@netbsd.org>
From: None <erh@nimenees.com>
List: tech-userlevel
Date: 04/01/2000 17:48:07
	I just tried a c++ program that uses exceptions.
It didn't work.  "Abort (core dumped)" as soon as an.
exception is thrown.  I saw someone mention something
about exception not working, but I can't find it.  Can
anyone fill me in on what might be broken, and what needs
to happen to fix it?

eric

#include <iostream.h>
main () {

   try {
        throw 123;
   } catch (int &e) {
        cout << e << "\n";
   } catch (...) {
        cout << "??\n";
   }
}