From owner-freebsd-alpha Sun Apr 1 14:52:20 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from imul.math.uni.lodz.pl (imul.math.uni.lodz.pl [212.191.65.2]) by hub.freebsd.org (Postfix) with ESMTP id 701FB37B718; Sun, 1 Apr 2001 14:52:17 -0700 (PDT) (envelope-from dagoon@math.uni.lodz.pl) Received: by imul.math.uni.lodz.pl (Mail Transport Agent, from userid 1168) id 125F51F47; Sun, 1 Apr 2001 23:51:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by imul.math.uni.lodz.pl (Mail Transport Agent) with ESMTP id F3B0917435; Sun, 1 Apr 2001 23:51:36 +0200 (CEST) Date: Sun, 1 Apr 2001 23:51:36 +0200 (CEST) From: Marcin Gryszkalis To: David O'Brien Cc: freebsd-alpha@freebsd.org Subject: Re: gperf segfail on 4.3b In-Reply-To: <20010401130702.A60525@dragon.nuxi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Today David O'Brien wrote: > How do you know which ctor/dtor is being called with the way you wrote > this? Try this version: I know because I spent 4 hours trying to make gperf work and have the same problem, anyway here it goes: dagoon@ldah:~,0> g++ y.cc -o y dagoon@ldah:~,0> ./y C1 C2 W0 W1 W2 D1 dagoon@ldah:~,0> uname -a FreeBSD ldah.math.uni.lodz.pl 4.3-BETA FreeBSD 4.3-BETA #10: Tue Mar 13 11:32:21 CET 2001 root@ldah.math.uni.lodz.pl:/usr/src/sys/compile/ldah alpha > I believe you mean dtor for d2 NOT called -- you never delete the > pointer, so how could it get called? > > x86 -current: C0 C1 C2 W0 W1 W2 D1 D0 > x86 4.3-RC#2: C0 C1 C2 W0 W1 W2 D1 D0 > Alpha 4.3-RC#2: C0 C1 C2 W0 W1 W2 D1 D0 Did I say I really have a problem? :) greetings marcin (still waiting for help) -- .d$$$$b, $d$$$$b. .d$$$$b, Marcin Gryszkalis $$' `"" $$' `"' $$' `$$ $$. .ss $$ $$ $$ (...) QED. (QED translates from the Latin `"8$$8"' 88 88 88 as "So what?") To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message