From: Eli Zaretskii <eliz@gnu.org>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: 24128@debbugs.gnu.org
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 [thread overview]
Message-ID: <831t27oq3n.fsf@gnu.org> (raw)
In-Reply-To: <87wpk0w7ho.fsf@web.de> (message from Michael Heerdegen on Mon, 01 Aug 2016 22:37:39 +0200)
> 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?
next prev parent reply other threads:[~2016-08-02 2:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-01 20:04 bug#24128: 25.1; Strange warning from byte compiler in gud.el and gdb-mi.el Eli Zaretskii
2016-08-01 20:34 ` Andreas Schwab
2016-08-01 20:37 ` Michael Heerdegen
2016-08-02 2:35 ` Eli Zaretskii [this message]
2016-08-02 3:25 ` Michael Heerdegen
2016-08-02 3:48 ` Noam Postavsky
2016-08-02 14:50 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=831t27oq3n.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=24128@debbugs.gnu.org \
--cc=michael_heerdegen@web.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).