stdcall lib functions with exception throwing callbacks vs Dwarf2 EH

Richard Henderson rth@redhat.com
Wed Nov 24 08:26:00 GMT 2004


On Wed, Nov 24, 2004 at 08:50:17PM +1300, Danny Smith wrote:
> So is it a general requirements of DW2 EH that functions that are passed
> callbacks as args  be compiled with -fexceptions,  if the callbacks may
> throw?

Yes.  Thus glibc compiles e.g. qsort and bsearch with -fexceptions.


r~



More information about the Gcc mailing list