From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#34106: 27.0.50; master build failed with MSYS2/MinGW-w64 Date: Wed, 16 Jan 2019 20:06:01 +0200 Message-ID: <83o98gcwae.fsf@gnu.org> References: <20190116172826.GA8756@Kael> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1547662499 6156 195.159.176.226 (16 Jan 2019 18:14:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 16 Jan 2019 18:14:59 +0000 (UTC) Cc: 34106-done@debbugs.gnu.org To: Andy Moreton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 16 19:14:55 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gjpiH-0001PA-4T for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Jan 2019 19:14:53 +0100 Original-Received: from localhost ([127.0.0.1]:39812 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjpkO-0003PG-9t for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Jan 2019 13:17:04 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjpja-0002Zc-3H for bug-gnu-emacs@gnu.org; Wed, 16 Jan 2019 13:16:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gjpai-0002d3-Cc for bug-gnu-emacs@gnu.org; Wed, 16 Jan 2019 13:07:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34567) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gjpah-0002am-Eg for bug-gnu-emacs@gnu.org; Wed, 16 Jan 2019 13:07:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gjpah-0001ZZ-49 for bug-gnu-emacs@gnu.org; Wed, 16 Jan 2019 13:07:03 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Jan 2019 18:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 34106 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 34106@debbugs.gnu.org, eliz@gnu.org, chriszheng99@gmail.com Original-Received: via spool by 34106-done@debbugs.gnu.org id=D34106.15476619845997 (code D ref 34106); Wed, 16 Jan 2019 18:07:01 +0000 Original-Received: (at 34106-done) by debbugs.gnu.org; 16 Jan 2019 18:06:24 +0000 Original-Received: from localhost ([127.0.0.1]:33847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gjpa1-0001Ya-Mh for submit@debbugs.gnu.org; Wed, 16 Jan 2019 13:06:24 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gjpZz-0001YN-VN for 34106-done@debbugs.gnu.org; Wed, 16 Jan 2019 13:06:20 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40909) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjpZt-0001mF-KH; Wed, 16 Jan 2019 13:06:13 -0500 Original-Received: from [176.228.60.248] (port=4146 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gjpZr-0008FT-3n; Wed, 16 Jan 2019 13:06:13 -0500 In-reply-to: (message from Andy Moreton on Wed, 16 Jan 2019 17:44:10 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:154491 Archived-At: > From: Andy Moreton > Date: Wed, 16 Jan 2019 17:44:10 +0000 > > The MSYS2/Mingw-w64 build also has a warning: > > C:/emacs/git/emacs/master/src/emacs.c: In function 'load_pdump': > C:/emacs/git/emacs/master/src/emacs.c:752:28: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=] > sprintf (dump_file, "%.*s%s", argv0_len - 4, argv[0], suffix); > ~~^~ ~~~~~~~~~~~~~ > > The following patch fixes the warning, and fixes the bug above without > needing a cast: Thanks, pushed.