This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: stdcall lib functions with exception throwing callbacks vs Dwarf2 EH


Danny Smith wrote:

> If a C library function that takes a callback arg is compiled
> using stdcall convention, C++ exception thrown by the callback
> result in abort.

Just to speculate while not asking anyone to implement anything, would
there be any value in implementing special behavior when throwing
through non-dwarf2 code, such as checking for an SEH handler on the
stack, or use the MSVC unwinding routines (which MinGW has access to, I
beleive)?

Do any Windows system routines have any function local cleanup that
they'd need to do registered with SEH, or are they OK with suddenly
being zapped out of existance at user code call points?

Aaron W. LaFramboise


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]