This is the mail archive of the gcc-help@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: Re: g++ & non-call-exceptions & sigsetjmp


Hi Devrat,

Your code sort-of worked for me. Red Hat Linux Advanced Server 2.1, using GCC 3.2.

C++ exceptions and setjmp/longjmp do not interact well. Likewise, I suspect that C++ exceptions and sigsetjmp also do not interact well.

I recommend avoiding a throw from within the context of a signal handler.

HTH,
--Eljay


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