www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/04/06/03:50:11

Date: Tue, 6 Apr 1999 09:48:08 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Nate Eldredge <nate AT cartsys DOT com>
cc: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>,
djgpp-workers AT delorie DOT com
Subject: Re: YAMD tests
In-Reply-To: <3709227A.26655F3A@cartsys.com>
Message-ID: <Pine.SUN.3.91.990406094741.6187O-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 5 Apr 1999, Nate Eldredge wrote:

> I found that too.  It's because the initialization is done in a
> constructor and I can't ensure that it's the first constructor to run. 
> I tried forcing my code to be linked first; that makes my destructor
> first, not last.  Can't win :)
> 
> So what I need is some way to get my code run first and last.  Any
> ideas?

Separate the constructor and the destructor code into two different
source files and link them in correct order.

- Raw text -


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