From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: windows build failure Date: Mon, 14 Oct 2013 21:10:29 +0300 Message-ID: <83txgjpvu2.fsf@gnu.org> References: <83wqmeocl5.fsf@gnu.org> <83ioxynvpb.fsf@gnu.org> <87zjrae0q7.fsf@gmail.com> <83eh8mnu8h.fsf@gnu.org> <87ob7qdzxj.fsf@gmail.com> <83a9janq2l.fsf@gnu.org> <87bo3oew5i.fsf@gmail.com> <83wqmclwja.fsf@gnu.org> <8761twemxb.fsf@gmail.com> <83txhglke0.fsf@gnu.org> <871u4keezm.fsf@gmail.com> <83pps4kl3s.fsf@gnu.org> <87vc1v4lld.fsf@gmail.com> <834n9fle10.fsf@gnu.org> <87k3ib4fl7.fsf@gmail.com> <8338ozl7cd.fsf@gnu.org> <83bo2ur4yq.fsf@gnu.org> <87ppr77msv.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1381774249 7128 80.91.229.3 (14 Oct 2013 18:10:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Oct 2013 18:10:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: Sean Sieger Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 14 20:10:52 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VVmbU-0006Qk-GH for ged-emacs-devel@m.gmane.org; Mon, 14 Oct 2013 20:10:52 +0200 Original-Received: from localhost ([::1]:38224 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVmbT-0006mb-SC for ged-emacs-devel@m.gmane.org; Mon, 14 Oct 2013 14:10:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43849) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVmbK-0006mO-AP for emacs-devel@gnu.org; Mon, 14 Oct 2013 14:10:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVmbE-0001uY-GR for emacs-devel@gnu.org; Mon, 14 Oct 2013 14:10:42 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:49196) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVmbE-0001tz-4g for emacs-devel@gnu.org; Mon, 14 Oct 2013 14:10:36 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MUO00D007PS7N00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Mon, 14 Oct 2013 21:10:35 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MUO00CNC7TLXUA0@a-mtaout20.012.net.il>; Mon, 14 Oct 2013 21:10:34 +0300 (IDT) In-reply-to: <87ppr77msv.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164211 Archived-At: > From: Sean Sieger > Date: Mon, 14 Oct 2013 14:02:56 -0400 > Cc: eliz@gnu.org > > > C:\trunk\src\emacs -Q c*.c > > Gives the correct result. Great, thanks for testing. > Please also try the various time-related functions, such as > decode-time, encode-time, format-time-string, and > current-time-string. This is because MinGW32 runtime 4.0 also moved > to using a 64-bit time_t type by default, which according to my > testing screws up Emacs, especially if it was built on Windows 7 and > then run on XP. So for now, I forced the MinGW32 headers to use a > 32-bit time_t type. This needs to be thoroughly tested, though. > > Thanks. > > Sorry, how to `try' decode-time, encode-time, format-time-string, and > current-time-string? I am reading *Help* on each ... current-time-string is trivial: just call it, and see that the value is reasonable. format-time-string is not much harder, see its doc string. decode-time can be tested by passing it what current-time returns, and also the time-related info from file-attributes. encode-time can be tested by passing it the result of decode-time. In each case, please compare with the results of some older binary of Emacs, as the differences could be subtle. Thanks.