try, finally

Brian Dessent brian@dessent.net
Wed Mar 19 16:37:00 GMT 2008


Jason Cipriani wrote:

> Does GCC have anything similar to the MS and Borland compiler's __try
> and __finally keywords? When using GCC I often find that I have code

Adding SEH support to gcc has been tossed around for years but nothing
usable has yet to come of it.  You can still use SEH through
SetUnhandledExceptionFilter() or by manipulating the exception chain at
%fs:0 manually, but there is no built in compiler support for it.

Brian



More information about the Gcc-help mailing list