www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/21/11:46:33

From: Neil & Joey Obremski <obremski AT nwrain DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: dynamic_cast<>
Date: Sat, 21 Mar 1998 08:46:52 +0000
Organization: CyCLONE7 Design
Lines: 35
Message-ID: <35137E7C.7C61B651@nwrain.com>
Reply-To: obremski AT nwrain DOT com
NNTP-Posting-Host: 2270 AT 205 DOT 134 DOT 220 DOT 138
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

The dynamic_cast<> keyword (or whatever it is referred to =) gives me
an error and tells me to compile with the flag "-frtti".  So I compile
with that and it gives me an error that I need to include
<typeinfo.h>.  So I include typeinfo.h and it can't find it.  Where is
that file?  And also its C++, so is the file that has typeinfo.h a
freeware file ... I was mentioned to that some DJGPP C++
Files/Libraries are not freeware.

Thanks for your time!

If you're curious here's the exact errors:

Try #1:
main.cpp: In function `int main()':
main.cpp:67: cannot take typeid of object when -frtti is not specified
main.cpp:67: confused by earlier errors, bailing out

Try #2:
In file included from d:/genesis/djgpp/lang/cxx/iostream.h:31,
                 from main.cpp:2:
d:/genesis/djgpp/lang/cxx/streambu.h:250: failed to build type
descriptor node of 'ios', maybe typeinfo.h not included
main.cpp: In function `int main()':
main.cpp:67: confused by earlier errors, bailing out

Try #3:
main.cpp:1: typeinfo.h: No such file or directory (ENOENT)

Thanx in advance =)

-- 
 /----------------------[nobremski AT hotmail DOT com]----------------------\
( Neil C. Obremski                                     Ashrak DeadEye
)
 \-----------------[http://www.nwrain.com/~deadeye/]-----------------/

- Raw text -


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