Exception handling
Kaoru Fukui
k_fukui@highway.ne.jp
Mon Aug 26 09:18:00 GMT 2002
On 26 Aug, Serguei I. Ivantsov wrote:
>>GCC does not catch hardware exceptions like divide by 0 and other traps.
>>Look at signal(3) for information on how to trap these on UNIX's.
>
> What can I do if I want to execute some function from dll (server plugin)
> safely?
> I want process to continue execution after any exception you can imagine.
> I don't want to install "thousands" signal handlers, I only want process not
> abort after error.
> Is it possible, like in M$ ?
>
Do you have gcc source?
Look gcc/testsuite/g++.dg/eh/* and gcc/testsuite/g++.old-deja/g++.eh/*
The source have many simple examples.
Kaoru
More information about the Gcc
mailing list