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: 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)
> 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
 


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