Re: [Mingw-users] why is terminate() called?
- Date: Wed, 09 Apr 2008 17:21:13 -0400
- From: Bob Rossi <bob_rossi@xxxxxxx>
- Subject: Re: [Mingw-users] why is terminate() called?
On Tue, Apr 08, 2008 at 10:23:18PM -0400, Bob Rossi wrote:
> Hi,
>
> I have a C++ program that I create with mingw gcc-4.2-sjlj only. I
> create a bunch of static libraries, and then link a main program. I've
> found that in one of the .a libraries I throw an exception and
> terminate() is being called, even though the Main.cpp file clearly
> catches all exceptions.
>
> Does anyone know why I would see this behavior? I am using threads, C++
> and exceptions.
>
> What other information can I provide?
Problem solved. Need to use -mthreads with this configuration.
http://osdir.com/ml/gnu.mingw.announce/2005-10/msg00009.html
Now, why doesn't the gcc-sjlj link with -mthreads automatically?
Thanks,
Bob Rossi
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users