From owner-freebsd-hackers Sun Mar 16 13:17:32 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA19915 for hackers-outgoing; Sun, 16 Mar 1997 13:17:32 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.50]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id NAA19910 for ; Sun, 16 Mar 1997 13:17:30 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id OAA06269; Sun, 16 Mar 1997 14:07:44 -0700 From: Terry Lambert Message-Id: <199703162107.OAA06269@phaeton.artisoft.com> Subject: Re: Barb problem, FOUND To: imp@village.org (Warner Losh) Date: Sun, 16 Mar 1997 14:07:44 -0700 (MST) Cc: hackers@FreeBSD.org In-Reply-To: <199703160612.XAA13150@rover.village.org> from "Warner Losh" at Mar 15, 97 11:12:56 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > {standard input}: Assembler messages: > {standard input}:1147: Warning: GOT relocation burb: `__vt$5TNode' should be global > > OK. The problem here is trivial to reproduce. > > All of the members of TNode are virtual. Even the dtor, and it is > specifically inline (which is a major no-no for virtual dtors (and > virtual functions in general) because most compiler give multiple > copies). > > This message should really read > > "TNode::~TNode is an inline virtual function, and I don't know how to > cope, so fix the dubious construct in the code, OK" > > In the case of tvision 0.3, I see it for each of the classes that have > virtual inline functions, but it reports the wrong function name. > > Comments? Hee hee hee hee? *ALL* the members are virtual? Even the constructor, which isn't allowed to be? Regards, Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.