logo       

Re: C++ exceptions: msg#00033

gnu.cegcc.devel

Subject: Re: C++ exceptions

Pedro Alves wrote:

>
> EXCEPTION_DISPOSITION
> eh_handler(struct _EXCEPTION_RECORD *ExceptionRecord,
> void *EstablisherFrame UNUSED,
> struct _CONTEXT *ContextRecord,
> struct _DISPATCHER_CONTEXT *DispatcherContext UNUSED)
> {
> struct eh_data *d = TlsGetValue(handler_tls);
>
>
> if (d == NULL)
> /* Unexpected, perhaps there is another handler installed. */
> return EXCEPTION_CONTINUE_SEARCH;
>

Bug here ...

- return EXCEPTION_CONTINUE_SEARCH;
+ return ExceptionContinueSearch;

Cheers,
Pedro Alves

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise