From owner-freebsd-alpha Sun Apr 1 8:55:23 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 3090D37B718 for ; Sun, 1 Apr 2001 08:55:21 -0700 (PDT) (envelope-from dagoon@math.uni.lodz.pl) Received: by imul.math.uni.lodz.pl (Mail Transport Agent, from userid 1168) id CCCB31F47; Sun, 1 Apr 2001 17:54:42 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by imul.math.uni.lodz.pl (Mail Transport Agent) with ESMTP id A741117435 for ; Sun, 1 Apr 2001 17:54:42 +0200 (CEST) Date: Sun, 1 Apr 2001 17:54:42 +0200 (CEST) From: Marcin Gryszkalis To: freebsd-alpha@freebsd.org Subject: Re: gperf segfail on 4.3b In-Reply-To: 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 > As we can see above, delimiters are NULL, and they come NULL from > option (class Options), as because of [can't-see-any-reason] constructor > of Options class is not called (in constructor default delimiters are Ok, seems like I have a real problem: this source: -x.cc--------------------------------------------- #include class dg { public: dg(){puts("C");} ~dg() {puts("D");} void work(){puts("W");} }; dg d0; int main (int argc, char *argv[]) { dg d1; dg *d2=new dg; d0.work(); d1.work(); d2->work(); return 0; } ----------------------------------------------- gives 'CCWWWD' as result while it should 'CCCWWWDD'. Constructor and destructor for d0 are NOT called. Compiled with 'g++ x.cc -o x' Seems like something BAD happened in early 4.3-BETA, it was Mar 13th (yes 13th :( ). The question is - what should I do? Does it mean I have gcc broken? please help :) marcin -- .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