From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rzl24ozi@gmail.com Newsgroups: gmane.emacs.devel Subject: Re: Anyone building Emacs trunk with MinGW w64 (32 bits) Date: Wed, 27 Mar 2013 17:17:38 +0900 Message-ID: <86620dqmsd.fsf@gmail.com> References: <87zjxumbjf.fsf@wanadoo.es> <83vc8f1t0x.fsf@gnu.org> <87sj3jcr6t.fsf@wanadoo.es> <86zjxrs4jm.fsf@gmail.com> <87k3ovcn1r.fsf@wanadoo.es> <86fvzj2gkz.fsf@gmail.com> <87sj3jaqfs.fsf@wanadoo.es> <83y5dazmpt.fsf@gnu.org> <86ehf2zefk.fsf@gmail.com> <86li9az2sw.fsf@gmail.com> <83hajyz1mi.fsf@gnu.org> <867gku88lx.fsf@gmail.com> <83a9pqysc5.fsf@gnu.org> <86sj3i6ndd.fsf@gmail.com> <83620eyonh.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1364372296 15221 80.91.229.3 (27 Mar 2013 08:18:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Mar 2013 08:18:16 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 27 09:18:41 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 1UKlZ3-0005pF-0s for ged-emacs-devel@m.gmane.org; Wed, 27 Mar 2013 09:18:33 +0100 Original-Received: from localhost ([::1]:47253 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKlYf-0004x1-10 for ged-emacs-devel@m.gmane.org; Wed, 27 Mar 2013 04:18:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKlYS-0004ve-Op for emacs-devel@gnu.org; Wed, 27 Mar 2013 04:18:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKlYQ-0000hE-3v for emacs-devel@gnu.org; Wed, 27 Mar 2013 04:17:56 -0400 Original-Received: from mail-pa0-f48.google.com ([209.85.220.48]:58594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKlYP-0000dJ-Pv for emacs-devel@gnu.org; Wed, 27 Mar 2013 04:17:54 -0400 Original-Received: by mail-pa0-f48.google.com with SMTP id lj1so869953pab.35 for ; Wed, 27 Mar 2013 01:17:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=Qe9rrkGUt14SePzJqPrg3qSgNib2AimqL8rbZ1noCu4=; b=qfXvbWIK74/e1eyQxIBNxIIFXDYAr8W8YvukSky+E5rJAxzjChVGeOEfz28VsBEhif kZYryCzoKYG52Sce3krtFr40jAToxplj5KOcsr+uOZi5Gtneu0Y8BG3sUxcJuhVpAOcT VjzUTKHetQZTi8QM/Qp3Xw8c9DySgI0cgmivgNDMbB3wAd3EyYjBEt2nAeLMGVrKiXJA izYl6vn0+wfLx/9vawCzzihnXQ6pSOcmi5ob3PjLhZTCKEQfTXfgcxIiWdO9Cd5Y5OtL BM4gkZYcHiMbV3uSXd4voeWJRlSZRheUyrsOaRfVB2z9ItKL+BJhTEpIwKSi/LA6WFoU n9UA== X-Received: by 10.68.176.68 with SMTP id cg4mr27724645pbc.49.1364372272342; Wed, 27 Mar 2013 01:17:52 -0700 (PDT) Original-Received: from 192.168.1.3 (64.24.30.125.dy.iij4u.or.jp. [125.30.24.64]) by mx.google.com with ESMTPS id iv3sm20618249pbc.40.2013.03.27.01.17.49 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 27 Mar 2013 01:17:50 -0700 (PDT) In-Reply-To: <83620eyonh.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 26 Mar 2013 20:57:54 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.220.48 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:158273 Archived-At: Sorry for late reply, > editfns.c: In function 'format_time_string': > editfns.c:1793:32: warning: pointer/integer type mismatch in conditional expression [enabled by default] > editfns.c: In function 'Fdecode_time': > editfns.c:1844:16: warning: assignment makes pointer from integer without a cast [enabled by default] > editfns.c: In function 'Fcurrent_time_string': > editfns.c:2011:6: warning: assignment makes pointer from integer without a cast [enabled by default] > > This sounds like the prototypes of gmtime and/or localtime are not > visible to the compiler at this point. But how can that happen, when > ms-w32.h, included by config.h, includes time.h which declares these 2 > functions? I found that localtime is defined to sys_localtime in ms-w32.h. Because time.h is included before this definition, prototype is not changed to sys_localtime. When I move "#include " after "#define localtime sys_localtime", it seems that these warnings disappear.