GNU bug report logs - #8631
since lexical merge, byte compiler does not know defmethod defines a function

Previous Next

Package: emacs;

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

Date: Fri, 6 May 2011 17:50:03 UTC

Severity: normal

Found in version 24.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andy Moreton <andrewjmoreton <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: bug#8631: since lexical merge, byte compiler does not know defmethod defines a function
Date: Sat, 07 May 2011 14:00:36 +0100
On Sat 07 May 2011, Stefan Monnier wrote:

>> Since the lexical branch was merged (ie r103798), the byte compiler does
>> not understand that eieio's defmethod defines a function.
>
>> Eg:
>
>> emacs -Q -batch -f batch-byte-compile cedet/srecode/dictionary.el
>
>> In end of data:
>> dictionary.el:712:1:Warning: the following functions are not known to be
>>     defined: srecode-dictionary-add-template-table,[...]
>
> Should be fixed now, thanks to the patch below,

Hi Stefan,

Since you change in revno 104151, I've bootstrapped on winXP at revno
104154. The build output shows some new errors:

--8<---------------cut here---------------start------------->8---
Compiling emacs-lisp/eieio-speedbar.el
In toplevel form:
emacs-lisp/eieio-speedbar.el:96:1:Error: Symbol's value as variable is void: &rest
Compiling emacs-lisp/eieio.el

Compiling gnus/nnregistry.el
In toplevel form:
gnus/nnregistry.el:34:1:Error: Symbol's value as variable is void: &rest
--8<---------------cut here---------------end--------------->8---

Running gnus in this emacs fails with the same error message at runtime,
so I cannot connect to any news servers with it. Could this be related to your
changes ?

    AndyM





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

Previous Next


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