This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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


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~


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