This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bug in egcs with C++?
- To: jbuck at Synopsys dot COM
- Subject: Re: bug in egcs with C++?
- From: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Sat, 12 Dec 1998 10:38:59 +0100
- CC: oliva at dcc dot unicamp dot br, teunis at computersupportcentre dot com, egcs at cygnus dot com
- References: <199812111810.KAA22845@atrus.synopsys.com>
> foo::__vtbl ttt.o
> [Hint: try checking whether the first non-inlined, non-pure virtual function of class foo is defined]
>
Maybe we could do better than that. When emitting the reference to
'foo virtual table', the compiler knows *exactly* what function needs
to be defined in order to get the virtual table.
If that knowledge was communicated into the object file, the linker
could give a better hint how to obtain the symbol (how exactly does
.gnu.warning work?).
Martin