www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/26/16:02:13

From: md2828 AT mclink DOT it (Marco Salvalaggio)
To: djgpp AT delorie DOT com
Cc: jth AT jth DOT ping DOT de
Subject: Re: exceptions in djgpp incomplete
Date: Wed, 26 Feb 1997 20:46:17 GMT
Message-ID: <3318a116.2051145@newmail.mclink.it>
MIME-Version: 1.0

On 25 Feb 1997 13:37:00 +0100, jth AT jth DOT ping DOT de (Jens Theisen) wrote:

>I have noticed that exception handling in djgpp isn't fully supported, =
at =20
>least not in my version 2.7.2. Exceptions can only be caught as they are=
 =20
>thrown. No exception handler can catch a subclass from the class he =
wants =20
>to have..... <snip>
I've also had this problem and when I posted a similar question was told =
me
to use th -frtti switch that solved the problem (well actually I had to =
add
the include file <std/typeinfo.h> as well in my prog. before the include =
of
<iostream.h> to stop the compiler complaining). But still I think that
djgpp exception support is not fully implemented and that we'll have to
wait the next release.

- Raw text -


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