From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#24128: 25.1; Strange warning from byte compiler in gud.el and gdb-mi.el Date: Mon, 01 Aug 2016 22:37:39 +0200 Message-ID: <87wpk0w7ho.fsf@web.de> References: <837fc0ntmw.fsf@gnu.org> NNTP-Posting-Host: blaine Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1470083901 14141 195.159.176.226 (1 Aug 2016 20:38:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 1 Aug 2016 20:38:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 24128@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 01 22:38:17 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 1bUJyb-0003T7-58 for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Aug 2016 22:38:17 +0200 Original-Received: from localhost ([::1]:52756 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUJyX-0000mU-QN for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Aug 2016 16:38:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUJyQ-0000mD-Og for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2016 16:38:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUJyL-0004bs-Q0 for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2016 16:38:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55909) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUJyL-0004bo-MH for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2016 16:38:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bUJyL-0001VU-IL for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2016 16:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Aug 2016 20:38: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.14700838705775 (code B ref 24128); Mon, 01 Aug 2016 20:38:01 +0000 Original-Received: (at 24128) by debbugs.gnu.org; 1 Aug 2016 20:37:50 +0000 Original-Received: from localhost ([127.0.0.1]:53206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUJyA-0001V5-1M for submit@debbugs.gnu.org; Mon, 01 Aug 2016 16:37:50 -0400 Original-Received: from mout.web.de ([217.72.192.78]:63773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUJy8-0001Us-Ew for 24128@debbugs.gnu.org; Mon, 01 Aug 2016 16:37:48 -0400 Original-Received: from drachen.dragon ([88.67.73.210]) by smtp.web.de (mrweb101) with ESMTPSA (Nemesis) id 0MUnUe-1bn3BB2ra0-00YCLa; Mon, 01 Aug 2016 22:37:41 +0200 In-Reply-To: <837fc0ntmw.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 01 Aug 2016 23:04:07 +0300") X-Provags-ID: V03:K0:UGsq1ArTsULBsm18fRWx4i64cGqQwMm6KS9JgeTCtxUbNJF+Cbc ovqtJI0IoN0XALv9i0UyorrXWxITJAU11BwEAEXV+6rwjMX4yMc9oH2xwoygaE+TecMKIhH c9eVfz2/4nVMzaOXHexsOTYlryBwVu3p8F1nPzH87tZXeqGVAslXoLVb0U4GCVxgsQ+X92z n5s/IjotsOkxJf8EJJnwA== X-UI-Out-Filterresults: notjunk:1;V01:K0:D3+ydONj4HE=:wQayHLLkMcs6c+GtSZ/Ea5 XULYIUDOUjBZPRBD3Cw3tCfIlNFZuN/j4uWyqt53DrCPSDhX34uMxXgx87ZE0gT1UPoHZbxRt hIAcv/m99HHwyYT0SEtsF+Fdxvs5sY+pKV/t7VYFGxC8ea5qTc5qAC2pXWUxTFtav2NClKb/Q 4QVxp1rSEag3/ZH5mDXLqD4SVz8pZ7IWtQY+P0RB8zF9zpMYV7MDMnbBTPPg4+NwBDM8KYVKZ nYP9tsTwXDll26I+3vSpqhXNxXveTZ+TbuWDlRAOeCAVY8eGfbtnkLWXd7zxvNCa/l5RLShwS BLy91pg97j4ntmXVSYijeEAxJc+TDByTiNn7WGgyVOekjnWs9e6qANkx/A3IVusHAaOLTpoHC xeXE0Y0ZIN1TFsmpwS/2n7V0Hd+vbx0P0NPka+px49p09pUKwgbBMRnKM3FQ8j6jrI0OfobDO dNY+/HABjZnQzsWTMky2Q6MS0pAzgkND54VYmP2zKBZOlaTnqBvIDLpMiZBNV0E+Io4c1xCeB USL5cIT/BCaDv/7IZTNhLp50gVx4M/vcNQ64yY/8kQjHRd34a0S/ZymL3aK4TjPsa2Lp9XNa1 bz3gFSj0NCi90Pt/01LFSHUVBfcaJfhiEKf7MlJHtIqtXSGM6IJH5kayXLOcENVGJbbgDAHpZ k4KOIL1dOr2N1BV/v7Z93+Zs7969wVM67oT+VuC+LugqQV34VdaOqMRKsMyS28pvaMhzBDPod JZRGBrfX6RbG3elbtyIWBisnr6fo4uTH+0H993s1ZaUvwkAKn1Jf3a3Teg+h1aeDasKB6EKe 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:121766 Archived-At: 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. Michael.