From: mrkite AT cyberjunkie DOT com (Marco Salvalaggio) To: djgpp AT delorie DOT com Cc: Eyal Ben-David Subject: Re: Serious djgpp problem with exceptions ? Date: Sun, 02 Feb 1997 22:47:01 GMT Message-ID: <32f91961.3151358@newmail.mclink.it> References: <2 DOT 2 DOT 32 DOT 19970202174153 DOT 00687a54 AT mailhost> In-Reply-To: <2.2.32.19970202174153.00687a54@mailhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable On Sun, 02 Feb 1997 15:41:53 -0200, Eyal Ben-David 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