Web lists-archives.org

Re: [Mingw-users] MinGW gcc 3.x, 4.x and exceptions




Hello alvaro, see below.

alvaro wrote:

> More recently I was about to go ahead and write exception aware code, 
> but then I read about problems throwing exceptions across DLL 
> boundaries, the different models (SJLJ vs DW2), and the need of a shared 
> libgcc.

 From GCC4 forward, MinGW.org will only be offering compilers that use 
the DW2 model.

> I would say it is *very* important to keep MinGW this way and still 
> support exceptions. If that implies using the "old" SJLJ system, I 
> wouldn't mind. I can admit a little performance loss. If 3.x can do it, 
> why can't 4.x?

I agree.  There is work underway to support throwing between modules 
without the shared libgcc, in a similar manner to what Brian describes.

-------------------------------------------------------------------------
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