Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: jbuck@synopsys.com (Joe Buck)
Subject: Re: Linker error.
Date: 1996/02/26	[thread overview]
Message-ID: <4grgs4$994@hermes.synopsys.com> (raw)
In-Reply-To: egd977ft0d.fsf@haukugle.ii.uib.no

ketil@ii.uib.no writes:
>I think I got 
>
>unresolved:
>XXX virtual table
>
>when virtual functions in class XXX were not defined, just declared.

I guess I'll need to add an FAQ entry for this one.  It's a side effect of
g++'s trick to generate only one copy of the virtual table even when
pragma interface/implementation is not used.   The side effect is that if
you forget to define the first virtual function of a class, you won't get
a virtual function table.
-- 
-- Joe Buck 	<jbuck@synopsys.com>	(not speaking for Synopsys, Inc)

Work for something because it is good,
not just because it stands a chance to succeed.	   -- Vaclav Havel



      reply	other threads:[~1996-02-26  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-02-21  5:00 Linker error Hary J Walsh
1996-02-22  5:00 ` Ketil Z Malde
1996-02-26  5:00   ` Joe Buck [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox