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: Tue, 12 Sep 2017 20:49:50 +0300 Message-ID: <83ingnq01t.fsf@gnu.org> References: <1017454172.910810.1504618695244@mail.libero.it> <83tw0ezgi1.fsf@gnu.org> <1146932094.13821.1504798935795@mail.libero.it> <83mv66z66p.fsf@gnu.org> <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> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1505238644 4871 195.159.176.226 (12 Sep 2017 17:50:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 12 Sep 2017 17:50:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: rcopley@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 12 19:50:38 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 1drpKU-0000nD-EC for ged-emacs-devel@m.gmane.org; Tue, 12 Sep 2017 19:50:34 +0200 Original-Received: from localhost ([::1]:37862 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drpKb-0001CI-GT for ged-emacs-devel@m.gmane.org; Tue, 12 Sep 2017 13:50:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33056) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drpK0-0001Al-0E for emacs-devel@gnu.org; Tue, 12 Sep 2017 13:50:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drpJw-0003Y2-41 for emacs-devel@gnu.org; Tue, 12 Sep 2017 13:50:04 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drpJw-0003Xv-0e; Tue, 12 Sep 2017 13:50:00 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2608 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1drpJu-0004vl-7A; Tue, 12 Sep 2017 13:49:59 -0400 In-reply-to: <83377vx3d0.fsf@gnu.org> (message from Eli Zaretskii on Sat, 09 Sep 2017 19:07:23 +0300) 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:218146 Archived-At: > Date: Sat, 09 Sep 2017 19:07:23 +0300 > From: Eli Zaretskii > Cc: angelo.g0@libero.it, emacs-devel@gnu.org > > > At least some of the "-Wformat=" warnings are misleading. > > Emacs has to use MSVC's rules for format strings, but GCC > > warns based on the C standard rules implemented in GCC. > > Actually, these are the most worrisome, because they seem to tell your > MinGW headers might mismatch your GCC version. Or maybe this is a > general MinGW64 problem that should be solved by MinGW64 developers. OK, I got some information from the MinGW64 developers, but now I need your help, Richard. I need you to produce preprocessed versions of frame.c, keyboard.c, and print.c, and send them to me. Do you know how to produce such preprocessed versions? They need to be produced using the exact GCC switches used when these files are compiled as part of the build. Let me know if you need instructions. I will then try to figure out how to get ourself out of this mess, given what they explained to me. Thanks.