Mail Archives: djgpp/1997/02/02/17:58:28
On Sun, 02 Feb 1997 15:41:53 -0200, Eyal Ben-David <eyalb AT aks DOT com> wrote:
>This is a problem with g++ in general. Not necessarilly with DJGPP.
>
>When you throw a derived class and the exception handler catches the =
base class
>type, you must add RTTI to your program. Try the `-frtti' switch.
>
> E-mail eyalb AT aks DOT com
>Aladdin Knowledge Systems Ltd. Ph# +972 3 6362222
>P.O.Box 11141 Tel-Aviv 61110 Israel Fax# +972 3 5375796
>
>See us at our Web site at http://www.aks.com
>
That's it ! Many thanks. But now comes to me another question. I guess =
that
using RTTI means adding some extra overhead to my app, so I can't use
polymorphic exceptions without losing something in efficiency ? In other
word, it's supposed to work this way or there are plans to fix it in
g++/djgpp ?
Marco
- Raw text -