This is the mail archive of the
mailing list for the GCC project.
Re: Exception handling
- From: Kaoru Fukui <k_fukui at highway dot ne dot jp>
- To: admin at gsc-game dot kiev dot ua
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 27 Aug 2002 01:19:29 +0900 (JST)
- Subject: Re: Exception handling
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)
> 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.