Web lists-archives.org

Re: [Mingw-users] GCC 4.3.0 20080502 (alpha) Released - Please help us test it!




Bob Rossi wrote:
> On Tue, May 06, 2008 at 09:01:01AM +0800, JonY wrote:
>> Aaron W. LaFramboise wrote:
>>> KNOWN PROBLEMS
>>>
>>> -Exceptions can't be thrown through foreign frames.
> 
> What exactly does this mean? What will be the exact limitation put on
> the mingw community?

Brian and Greg describe the problem correctly and clearly; you should 
test to see if any code you're using is impacted.


It's very unfortunate to add this restriction, but for the time being, I 
think its the only reasonable thing to do.  Thoughtful arguments to the 
contrary are welcome, of course.


I know how bad this is for some people, but there's a few mitigating 
factors that I think make it OK for us to do this.

-If all goes as planned, this problem will be fixed within a few months 
time in the upstream GCC (4.4), and backported to MinGW GCC 4.3.

-People for whom this is a problem can still build their own GCC with 
SJLJ enabled.

-Throwing non-SEH exceptions through arbitrary foreign frames isn't 
really a valid thing to do anyway unless you're planning to terminate 
immediately--and maybe not even then.  In the Win32 API case, it appears 
to work most of the time, but I don't see any guarantee of this 
documented anywhere.

(This problem will by partially mitigated by the forthcoming improvement 
mentioned above.)

-The old GCC 3.4.5 will still be available.


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