delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/08/14/06:43:04

X-Authentication-Warning: new-smtp1.ihug.com.au: Host p280-tnt2.syd.ihug.com.au [203.173.131.26] claimed to be acceleron
Message-ID: <007201c124aa$37717ff0$0a02a8c0@acceleron>
From: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
To: <pavenis AT lanet DOT lv>, "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>,
<djgpp-workers AT delorie DOT com>,
"Charles Sandmann" <sandmann AT clio DOT rice DOT edu>
References: <3B7909ED DOT 32020 DOT 19CCE6 AT localhost> (pavenis AT lanet DOT lv) <3B791B0C DOT 22177 DOT 5CB07E AT localhost>
Subject: Re: Windows 2000 patch for utime.c
Date: Tue, 14 Aug 2001 20:16:41 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Reply-To: djgpp-workers AT delorie DOT com

Sorry guys, now for my 2 cents worth. Sorry it's no longer accepted in OZ,
so I am probably out of luck, but here I go anyway:

> > > If we would have such variable it could be initialized only once at
> > > startup.
> >
> > Yes, I understand that.  But IMHO global variables should not be
> > introduced as a matter of habit.

Instead of re-inventing the wheel Allegro has support for a number of
different OS's and it tests for these and sets an appropriate variable and
you get to the variable via a function call if I remeber correctly.  It may
be usefull to look at this to see how this works as Allegro now works on
DJGPP, VC++, GNU on Linux  and looks like some other platforms as well.

I agree with Eli that we should fix the problems correctly now and then come
back and effectively optimize / future proof (if it can be done) for all of
the platforms DJGPP runs on. I have been involved in this sort of concept
with an embedded poker machine and it took some time and effort to figure
out which way was a good way to implement it. The problem is that if we
start doing this now we may re-code and introduce a number of new bugs
instead of fixing the exisiting ones.

I have added this to the list of outstanding issues with DJGPP and Win 2K.
This way it will hopefully not fall between the cracks.

Andrew



- Raw text -


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