On Fri, Apr 4, 2008 at 8:35 AM, Robert Shearman rob@codeweavers.com wrote:
Alexandre Julliard wrote:
I don't think we want to disable exceptions, that will just lead to broken builds. It should be possible to make the sigsetjmp variant
work
The reason is that RtlUnwind clears all general purpose registers (and maybe changes esp/ebp) so that frame is no longer valid. There may be a way to work around this, but I'm not sure.
Well how about for the interim a no op patch. No op exceptions can be handled in the case: defined(__MINGW32__) && ! defined(USE_COMPILER_EXCEPTIONS).
The eventual support for compiler exceptions can then go in separate case: defined(__MINGW32__) && defined(USE_COMPILER_EXCEPTIONS)
Patch attached implementing Rob S suggestions.
--John