Crossbuild patch, appropriate for wine?

John Klehm xixsimplicityxix at
Sat Apr 5 13:10:17 CDT 2008

On Fri, Apr 4, 2008 at 8:35 AM, Robert Shearman <rob at> 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.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-exception.h-Add-no-op-exception-definitions-for.patch.txt

More information about the wine-devel mailing list