GNU bug report logs - #8646
byte-compile-initial-macro-environment confuses byte-compile-arglist-warn

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Tue, 10 May 2011 22:28:02 UTC

Severity: minor

Found in version 24.0.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: 8646 <at> debbugs.gnu.org
Subject: bug#8646: byte-compile-initial-macro-environment confuses byte-compile-arglist-warn
Date: Tue, 10 May 2011 18:26:55 -0400
Package: emacs
Version: 24.0.50
Severity: minor

Since the lexical merge, compiling subr.el warns:

  In declare-function:
  subr.el:39:11:Warning: macro declare-function used to take 0+ arguments,
    now takes 2-4

This is caused by the element in byte-compile-initial-macro-environment:
  (declare-function . byte-compile-macroexpand-declare-function)

This confuses byte-compile-arglist-warn, because
  (byte-compile-fdefinition 'declare-function t)

returns `byte-compile-macroexpand-declare-function', which leads to a
(bogus) arglist signature of 0+.




This bug report was last modified 14 years and 21 days ago.

Previous Next


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