delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/11/02/07:25:04

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Tue, 2 Nov 2004 12:59:10 +0100
From: Egon Eckert <egon AT heaven DOT industries DOT cz>
To: djgpp AT delorie DOT com
Subject: Re: Destructor being called twice?
Message-ID: <20041102115910.GF10315@webhome.cz>
References: <opsgtcaqh37iosox AT dhcp9540189 DOT columbus DOT rr DOT com>
Mime-Version: 1.0
In-Reply-To: <opsgtcaqh37iosox@dhcp9540189.columbus.rr.com>
User-Agent: Mutt/1.5.6+20040722i
Sender: Egon Eckert <egon AT webhome DOT cz>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> I am *not* calling this destructor anywhere in the program, it should only  
> be called once (implicitly) upon
> program end.
> 
> Any idea what I'm doing wrong here?

May be nothing, it's a gcc regression in 3.4 branch:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17976

The fix will be in 3.4.3.

There are more "wrong code" regressions...  I'm still using g++ 3.3.x
on production binaries.

Egon

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019