Subject: Re: [boost] structured exceptions for UNIXs -- the hard way
From: Peter Foelsche (foelsche_at_[hidden])
Date: 2011-09-22 00:06:10
"Giovanni Piero Deretta" <gpderetta_at_[hidden]> wrote in message
> FWIW, with a recent GCC on Linux you can throw exceptions from signal
> handlers and they will be correctly handled (this is required to
> support Java and I think Ada as well). You need to compile with
> -fnon-call-exceptions or -fasynchronous-exceptions. These have been
> available for quite a while but were very buggy in C and C++ until
This is exactly what is needed!
I'm curious that I hear about it only now.
I'll try this tomorrow.
says about this option is pretty terse.
The Intel compiler at least said, that it allows throwing exceptions from
signal handler for SIGSEGV or SIGFPE.
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk