GNU bug report logs - #24128
25.1; Strange warning from byte compiler in gud.el and gdb-mi.el

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Mon, 1 Aug 2016 20:05:02 UTC

Severity: minor

Merged with 2681, 8774, 9109, 22288, 24592

Found in versions 23.0.91, 23.3.1, 24.0.50, 24.3.1, 25.0.50, 25.1

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 24128 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 24128 <at> debbugs.gnu.org
Subject: Re: 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
> From: Michael Heerdegen <michael_heerdegen <at> web.de>
> Cc: 24128 <at> debbugs.gnu.org
> Date: Mon, 01 Aug 2016 22:37:39 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> 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?




This bug report was last modified 3 years and 118 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.