delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/24/04:31:20

From: istvan AT outer-net DOT com (Steve Marton)
Newsgroups: comp.os.msdos.djgpp
Subject: -frtti bug?
Date: Tue, 21 Oct 1997 12:52:14 GMT
Organization: Shaw FiberLink Limited
Lines: 17
Message-ID: <62ji0h$t6e@news.fiberlink.net>
NNTP-Posting-Host: ts145.outer-net.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I found myself in the need of using rtti. I found out that there's the
special command line option "-frtti" to enable it. I used that, but
the problem is that iostream.h doesn't compile. The first of many
errors is:

in file streambu.h (included from iostream.h) line 250: failed to
build type description for 'ios', maybe typeinfo.h not included.

So I included that, but of course nothing changed. So how come this
option doesn't even work with the original djgpp headers? BTW, my part
of the code didn't cause errors (I just did a dynamic_cast).

Any help would be appreciated.

Steve Marton
http://www.geocities.com/SiliconValley/Park/9784

- Raw text -


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