Revisiting exceptions

Alexandre Julliard julliard at
Fri May 6 09:23:05 CDT 2005

Mike Hearn <mh at> writes:

> Hi Alexandre,
> I got bored and took a stab at doing proper SEH macros using some GCC
> extensions I found. These are rather rough, unfinished definitions, and
> they aren't tested at all but do they look OK?

They clearly won't work as is, but if your question is whether it's
possible to use attribute((cleanup)), then yes you could probably use
that to make the current macros more compatible.  Obviously that would
be only as an option for Winelib apps since it's not portable.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list