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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,206547e68a60b0e7 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news.illinois.net!attcg2!ip.att.net!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: How to cache output of the compiler aka ccache Date: 18 Mar 2005 21:25:02 -0600 Organization: LJK Software Message-ID: References: <1111085641.211767.56950@f14g2000cwb.googlegroups.com> <877jk65a2f.fsf@insalien.org> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1111202609 23632 192.135.80.34 (19 Mar 2005 03:23:29 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Sat, 19 Mar 2005 03:23:29 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:9615 Date: 2005-03-18T21:25:02-06:00 List-Id: In article , "Randy Brukardt" writes: > "Simon Wright" wrote in message > news:x7vekeciwtj.fsf@smaug.pushface.org... > ... >> We had an interesting bug with 3.16a1 on Windows where compilations >> ran slower if the compiler had been installed in the winter months >> (outside daylight saving time) -- a feature involving the Windows >> installer, I think; the timestamps in the library were all one hour >> out. > > This is a bizarre Windows "feature". When daylight saving time changes, all > of the time stamps on your existing files will change one hour. (If you > don't believe me, check it out when the time changes.) > > If you have code the previously stored the time stamp somewhere (say in a > dependency file), it will suddenly be off an hour, and thus will mismatch. > > Janus/Ada doesn't have the problem with the core runtime (since the source > isn't supplied), but sometimes a daylight saving time change will force a > rebuild of an entire project. I've never figured out a good solution, since > the behavior is so odd. It seems to me that one should instruct Windows that one is in a place where Daylight Savings Time is not honored. To ask the computer to go switching times away from reality is asking for trouble.