From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Suspicious warning in W64 build Date: Sat, 16 Sep 2017 16:46:23 +0300 Message-ID: <83y3pekb80.fsf@gnu.org> References: <1017454172.910810.1504618695244@mail.libero.it> <102a4c21-c275-c73e-ec53-0d85975dc968@cs.ucla.edu> <83a825znuf.fsf@gnu.org> <831snhzkgw.fsf@gnu.org> <837ex9x7vf.fsf@gnu.org> <83tw0cwcle.fsf@gnu.org> <83h8wcw3td.fsf@gnu.org> <83377vx3d0.fsf@gnu.org> <83ingnq01t.fsf@gnu.org> <83fubrpxsv.fsf@gnu.org> <83r2v9masw.fsf@gnu.org> <86a81xrndl.fsf@gmail.com> <83a81wmijy.fsf@gnu.org> <86mv5ulr50.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1505569583 14956 195.159.176.226 (16 Sep 2017 13:46:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 16 Sep 2017 13:46:23 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andy Moreton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 16 15:46:20 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dtDQJ-0003ld-Oy for ged-emacs-devel@m.gmane.org; Sat, 16 Sep 2017 15:46:19 +0200 Original-Received: from localhost ([::1]:57375 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dtDQR-0008N8-50 for ged-emacs-devel@m.gmane.org; Sat, 16 Sep 2017 09:46:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36837) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dtDQK-0008Mx-FH for emacs-devel@gnu.org; Sat, 16 Sep 2017 09:46:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dtDQF-0007ji-KG for emacs-devel@gnu.org; Sat, 16 Sep 2017 09:46:20 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dtDQF-0007jc-Hc; Sat, 16 Sep 2017 09:46:15 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1458 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dtDQE-0005Nq-WB; Sat, 16 Sep 2017 09:46:15 -0400 In-reply-to: <86mv5ulr50.fsf@gmail.com> (message from Andy Moreton on Sat, 16 Sep 2017 14:17:15 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:218360 Archived-At: > From: Andy Moreton > Date: Sat, 16 Sep 2017 14:17:15 +0100 > > diff --git a/src/unexw32.c b/src/unexw32.c > index 0c6b48342e..e97a52ba07 100644 > --- a/src/unexw32.c > +++ b/src/unexw32.c > @@ -471,7 +471,7 @@ get_section_info (file_data *p_infile) > } > > /* Format to print a DWORD_PTR value. */ > -#ifdef MINGW_W64 > +#if defined MINGW_W64 && defined _WIN64 > # define pDWP "16llx" > #else > # define pDWP "08lx" > > With this change I get clean builds on mingw64 32bit and 64bit. Thanks, pushed to the emacs-26 branch.