Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Apr 2001 17:54:42 +0200 (CEST)
From:      Marcin Gryszkalis <dagoon@math.uni.lodz.pl>
To:        freebsd-alpha@freebsd.org
Subject:   Re: gperf segfail on 4.3b
Message-ID:  <Pine.BSF.4.21.0104011746530.45419-100000@imul.math.uni.lodz.pl>
In-Reply-To: <Pine.BSF.4.21.0104011540330.45419-100000@imul.math.uni.lodz.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <stdio.h>
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 <dagoon@math.uni.lodz.pl>
  $$'  `""  $$'  `"' $$'  `$$ 
  $$.  .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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0104011746530.45419-100000>