Subject: Re: g++ exceptions
To: None <erh@nimenees.com>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: tech-userlevel
Date: 04/02/2000 16:43:30
In message <20000401174807.A26425@realms.nimenees.com>erh@nimenees.com writes
>
>	I just tried a c++ program that uses exceptions.
>It didn't work.  "Abort (core dumped)" as soon as an.
>exception is thrown. 

Did you compile with "c++" or just "cc"? If you compile with "cc",
then sometimes C++ code compiles but doesn't get the right startup
libraries linked in, causing htte code to die at runtime.

I tried the source code with c++ and our egcs-1.1.1, (on an otherwise
mostly 1.4.2-ish i386 system), it worked fine. 

If that's not the problem, which port and which compiler version
(uname -a, c++ -v) are you using?