Mail Archives: djgpp/1996/08/28/18:24:33
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 -