unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#8646: byte-compile-initial-macro-environment confuses byte-compile-arglist-warn
@ 2011-05-10 22:26 Glenn Morris
  2011-05-11  4:33 ` Glenn Morris
  0 siblings, 1 reply; 7+ messages in thread
From: Glenn Morris @ 2011-05-10 22:26 UTC (permalink / raw)
  To: 8646

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+.





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-05-20  2:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-10 22:26 bug#8646: byte-compile-initial-macro-environment confuses byte-compile-arglist-warn Glenn Morris
2011-05-11  4:33 ` Glenn Morris
2011-05-11 13:54   ` Stefan Monnier
2011-05-11 17:39     ` Glenn Morris
2011-05-12  1:00       ` Stefan Monnier
2011-05-19 19:06         ` Glenn Morris
2011-05-20  2:18           ` Stefan Monnier

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).