Mail Archives: djgpp/1998/03/21/11:46:33
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 -