This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Help: C++ virtual tables not created
- To: egcs at cygnus dot com
- Subject: Help: C++ virtual tables not created
- From: kkaempf at progis dot de (Klaus Kaempf)
- Date: Sat, 20 Dec 1997 20:43:48 +0100 (MET)
This one really bugs me. EGCS (and gcc 2.8.0) on openVMS/Alpha fail
to generate virtual tables in the assembler output. When checking iostream.obj
from libio with 'nm --demangle', I get:
U istream::ios virtual table
U ostream::ios virtual table
U iostream::ios virtual table
However, if I compile a sunos-pre(!)compiled version of iostream.cc on
openVMS, I get:
0000000000009638 D istream::ios virtual table
0000000000009648 D ostream::ios virtual table
0000000000009628 D iostream::ios virtual table
So to me, this looks like a bug in cpp and not in cc1plus ?!
Question is, what makes the c++-compiler generate virtual tables. I can't
get a clue from 'diff'ing the preprocessor outputs.
Klaus
--
proGIS Software E-Mail: kkaempf@progis.de
Dipl.-Inform. Klaus K"ampf Fax: 0241-47067-29
Jakobstr. 117 Voice: 0241-47067-11
D-52064 Aachen WWW: http://www.progis.de