www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/28/18:24:33

Xref: news2.mv.net comp.os.msdos.djgpp:7977
From: "Weiqi Gao" <weiqigao AT crl DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: exception handling
Date: 28 Aug 1996 15:03:04 GMT
Organization: Spectrum Healthcare Services
Lines: 40
Message-ID: <01bb94f2$d41eb7c0$010200c0@peking-1>
References: <mikeday DOT 8 DOT 00040420 AT melbpc DOT org DOT au> <32237837 DOT 794BDF32 AT ift DOT ulaval DOT ca> <32243622 DOT 167EB0E7 AT dra DOT hmg DOT gb>
NNTP-Posting-Host: crl7.crl.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I seem to remember that DJGPP lacked the function terminate() from it's C++
libraries (back in February).  Don't know if it's been fixed since then
(because I moved on to Windows 95 and GNU-WIN95).

-- 
Weiqi Gao
weiqigao AT crl DOT com

Ian Miller <itmiller AT dra DOT hmg DOT gb> wrote in article
<32243622 DOT 167EB0E7 AT dra DOT hmg DOT gb>...
> Mihai Moise wrote:
> > 
> > Michael Day wrote:
> > >
> > 
> > > 2.0? I'm doing something like this:
> > >
> > >  try {
> > >   throw 10;
> > >  }
> > >  catch (int i) {
> > >
> > >  }
> > >  catch (...) {
> > >
> > >  }
> > >
> > 
> > I have used the sigaction function in the file signal.h to catch
> > SIGSEGV, SIGTERM, etc... But I am unfamiliar with your syntax.
> 
> That's because it is C++ syntax and it is for catching
> user exceptions rather than signals. I've just been trying this
> myself, and if gcc implements the mechanism I don't see why the
> above should not work. I know that I couldn't get it working
> either, though.
> --
> Ian Miller, Dorset, AFRICA
> DJGPP 2.00, Win95 DOS box (LFN=n), 486DX4/100, 24Mbytes RAM
> 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019