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#24128: 25.1; Strange warning from byte compiler in gud.el and gdb-mi.el Date: Tue, 02 Aug 2016 05:35:08 +0300 Message-ID: <831t27oq3n.fsf@gnu.org> References: <837fc0ntmw.fsf@gnu.org> <87wpk0w7ho.fsf@web.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine X-Trace: blaine.gmane.org 1470105388 30193 195.159.176.226 (2 Aug 2016 02:36:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 2 Aug 2016 02:36:28 +0000 (UTC) Cc: 24128@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 02 04:36:22 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1bUPZ5-0007Ge-El for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Aug 2016 04:36:19 +0200 Original-Received: from localhost ([::1]:53685 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUPZ1-00053Y-Vv for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Aug 2016 22:36:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUPYu-00053F-7n for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2016 22:36:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUPYo-0008CH-7v for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2016 22:36:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55963) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUPYo-0008CD-4g for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2016 22:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bUPYn-0001Lg-Ti for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2016 22:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 Aug 2016 02:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24128 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24128-submit@debbugs.gnu.org id=B24128.14701053315141 (code B ref 24128); Tue, 02 Aug 2016 02:36:01 +0000 Original-Received: (at 24128) by debbugs.gnu.org; 2 Aug 2016 02:35:31 +0000 Original-Received: from localhost ([127.0.0.1]:53260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUPYI-0001Kr-QH for submit@debbugs.gnu.org; Mon, 01 Aug 2016 22:35:30 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45725) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUPYG-0001Kd-IS for 24128@debbugs.gnu.org; Mon, 01 Aug 2016 22:35:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUPYA-00085W-Hm for 24128@debbugs.gnu.org; Mon, 01 Aug 2016 22:35:23 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUPYA-00085O-Er; Mon, 01 Aug 2016 22:35:22 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2019 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bUPY9-0000WF-OG; Mon, 01 Aug 2016 22:35:22 -0400 In-reply-to: <87wpk0w7ho.fsf@web.de> (message from Michael Heerdegen on Mon, 01 Aug 2016 22:37:39 +0200) 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: 208.118.235.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:121768 Archived-At: > From: Michael Heerdegen > Cc: 24128@debbugs.gnu.org > Date: Mon, 01 Aug 2016 22:37:39 +0200 > > Eli Zaretskii writes: > > > When these two files are compiled, the byte compiler emits strange > > warnings: > > > > ELC progmodes/gdb-mi.elc > > > > In toplevel form: > > progmodes/gdb-mi.el:675:1:Warning: Unused lexical argument `arg' > > > > ELC progmodes/gud.elc > > > > In toplevel form: > > progmodes/gud.el:735:1:Warning: Unused lexical argument `arg' > > > > > What is going on here? > > I think the warnings come from compiling some lambda created by the > macro `gud-def', and the determined positions are just incorrect. We should make the reported line correct, then. Right?