Subject: Re: g++ exceptions
To: None <>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: tech-userlevel
Date: 04/02/2000 16:43:30
In message <> 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?