[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24128: 25.1; Strange warning from byte compiler in gud.el and gdb-mi
From: |
Eli Zaretskii |
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 |
> From: Michael Heerdegen <michael_heerdegen@web.de>
> Cc: 24128@debbugs.gnu.org
> Date: Mon, 01 Aug 2016 22:37:39 +0200
>
> Eli Zaretskii <eliz@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?