Revisiting exceptions

Gregory M. Turner gmturner007 at
Mon May 9 02:41:46 CDT 2005

On Friday 06 May 2005 18:51, Mike Hearn wrote:
> On Fri, 2005-05-06 at 16:23 +0200, Alexandre Julliard wrote:
> > 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.
> Sure, that's what I was asking. I wanted to see if we could make
> break/continue/return work inside TRY macros, which this technique seems
> to give. As we already decided it'd need compiler support it's no big
> deal that it's not portable (between compilers). At least it probably
> works on an unmodified GCC.
> So now if somebody wants to go ahead and improve our SEH macros using
> this technique, please, be my guest ...

Mike, you wicked, evil man!  I have exams to study for!

BTW, hi everybody.  No promises, but maybe in a few weeks, I will look at 

As for the portability issue, why not an autoconf test?  Perhaps the answer is 
"because there are still people foolish enough to run distro's other than 
Gentoo."  If so, then why not an autoconf test and a run-time test?


More information about the wine-devel mailing list