delorie.com/archives/browse.cgi | search |
From: | "Tim \"Zastai\" Van Holder" <zastai AT hotmail DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
References: | <wkk8g9q9aa DOT fsf AT hotmail DOT com> |
Subject: | Re: Cannot use the new style casts |
Lines: | 30 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2314.1300 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2314.1300 |
Message-ID: | <lMq65.110277$6t3.154988@afrodite.telenet-ops.be> |
Date: | Wed, 28 Jun 2000 17:40:33 GMT |
NNTP-Posting-Host: | 213.224.63.5 |
X-Complaints-To: | abuse AT pandora DOT be |
X-Trace: | afrodite.telenet-ops.be 962214033 213.224.63.5 (Wed, 28 Jun 2000 19:40:33 MET DST) |
NNTP-Posting-Date: | Wed, 28 Jun 2000 19:40:33 MET DST |
Organization: | Pandora-- Met vlotte tred op Internet |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Try gxx -v; this should give output like: ----- Reading specs from G:/Djgpp/lib/gcc-lib/djgpp/2.95.2/specs gcc version 2.95.2 19991024 (release) ----- As I recall, the new casts were added in version 2.8.1 of the compiler; if you're using a compiler older than 2.95, I strongly recommend getting the latest binaries from a simtelnet mirror. 2.95 supports rtti, exceptions and namespaces. If you have a recent compiler, what is the error given by the compiler (anything other than "sorry, not implemented: " suggests an error on your part, not a lack of support). <anupam_sengupta AT hotmail DOT com> wrote in message news:wkk8g9q9aa DOT fsf AT hotmail DOT com... > Hi, > > I cannot seem to be able to use the new style casts (dynamic_cast, static_cast ...) in any C++ > program that is to be compiled with the gxx that was installed along with RHIDE. I thought some > compiler flag was not set, but could find docs for any such option. Any help would be > appreciated. > > Thanks > Anupam
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |