This is the mail archive of the
mailing list for the GCC project.
Re: Exception handling
- From: Fergus Henderson <fjh at cs dot mu dot OZ dot AU>
- To: "Serguei I. Ivantsov" <admin at gsc-game dot kiev dot ua>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 28 Aug 2002 01:19:47 +1000
- Subject: Re: Exception handling
- References: <003101c24d16$6ab74490$e310f43e@manowar>
On 26-Aug-2002, Serguei I. Ivantsov <firstname.lastname@example.org> 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)
> Is it possible, like in M$ ?
If you really want safety, then you need to use a different programming
language, e.g. Java, C#, or Haskell, for your plug-ins. Current C++
implementations ("M$" included) do not support safe execution of
Fergus Henderson <email@example.com> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.