From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: *** X-Spam-Status: No, score=3.8 required=5.0 tests=BAYES_00,INVALID_MSGID, RATWARE_MS_HASH,RATWARE_OUTLOOK_NONAME autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fa552b9417d4cab X-Google-Attributes: gid103376,public From: "David C. Hoos, Sr." Subject: gnat304 Daylight Saving Time problem (was: compiler errors in GNAT 304a (win95)) Date: 1996/10/28 Message-ID: <01bbc4ba$6581ff00$208371a5@dhoossr.iquest.com>#1/1 X-Deja-AN: 192684743 distribution: world references: <550d8k$vkh@camel4.mindspring.com> content-type: text/plain; charset=ISO-8859-1 organization: DBH Enterprises, Inc. mime-version: 1.0 newsgroups: comp.lang.ada Date: 1996-10-28T00:00:00+00:00 List-Id: Hi all, This problem manifested itself last spring when most areas of the country went from Standard Time to Daylight Saving Time. Tom Griest of Labtek said it had to do with some error in Microsoft's representation of time. Here is an excerpt from the file "ftp://ftp.cs.yale.edu/pub/gnat/updates/gnat301a/readme": "fix301a4 provides alifix to update ali file timestamps to the current status of the source files. This is required because of what we believe is an error in the way Win32 reports UTC time for locales observing daylight savings time." I, too experienced it again, upon my first use of gnatmake after the time chage yesterday. Since this was a fix to gnat301a, I was reluctant to run "alifix" on my gnat304a1 installation, so I just re-installed it. As far as I could tell, the only file which gets modified in the process is the setpath.bat, so you might want to save a copy of it. My own setpath.bat has lines in it at the end to invoke "doskey /insert", and to start up emacs. Perhaps Tom Griest will shed some more light on this today, as I thought that 304a1 had fixed the problem, but perhaps not. Another "solution" is to add "-bargs -t" to your gnatmake command line, but this would, of course, defeat the timestamp checking altogether, possibly obscuring something that really did need to be recompiled. -- David C. Hoos, Sr., http://www.dbhwww.com http://www.ada95.com James Conley wrote in article <550d8k$vkh@camel4.mindspring.com>... > I was writing a simple program that used text.io and overrode put() to > put an array of integers. I have yet to have it work right, but I got > a strange sieris of errors from gnatmake - it tells me that system.ads > and ada.ads has been modified and that I have to recompile everything > that depends on them (text.io,etc about 30+ sources..). I haven't > modified anything that I know of except my little program that is in a > seperate directory alltogether! This seems awful strange, is this > common? mabye I accidently changed the date on one of these files > while moving them to a different directory or something. - how would I > recompile all these files?? Do i just go to that directory and issue a > gnatmake for each file it complains about? please let me know if > anyone has any idea why it would do this and how to fix it please. > Thanks! > > James > jconley@mindspring.com > > >