unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 24128@debbugs.gnu.org
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	[thread overview]
Message-ID: <87wpk0w7ho.fsf@web.de> (raw)
In-Reply-To: <837fc0ntmw.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 01 Aug 2016 23:04:07 +0300")

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.


Michael.





  parent reply	other threads:[~2016-08-01 20:37 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 [this message]
2016-08-02  2:35   ` Eli Zaretskii
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=87wpk0w7ho.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=24128@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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).