Mail Archives: pgcc/1999/03/18/21:23:55
Hi all. I'm getting core dumps with the following code below using RH5.2 and
pgcc-1.1.1. It seems to work fine with egcs-1.1.2. I'm unable to try it with
egcs-1.1.1 because I don't have it.
Is this a pgcc bug, is it just my installation or am I doing something wrong?
Thanks.
#include <stdio.h>
class Alpha {
public:
Alpha (void) throw (int) { printf ("Throwing..\n"); throw 1234; }
~Alpha (void) throw () { }
};
int main (int ac, char* av[])
{
try {
Alpha conn;
} catch (int v) {
printf ("Caught\n");
}
return 0;
}
- Raw text -