GNU bug report logs - #20509
compiler warns about cl-defmethod defined after use

Previous Next

Package: emacs;

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

Date: Tue, 5 May 2015 18:17:02 UTC

Severity: normal

Found in version 25.0.50

Fixed in version 25.1

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

Bug is archived. No further changes may be made.

Full log


Message #11 received at 20509 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 20509 <at> debbugs.gnu.org
Subject: Re: bug#20509: compiler warns about cl-defmethod defined after use
Date: Tue, 05 May 2015 23:17:03 -0400
Stefan Monnier wrote:

> While using cl-defmethod without a previous cl-defgeneric is supported,
> it's not recommended.

It's used without one in several places in Emacs:

emacs-lisp/eieio-custom.el:472:1:Warning: the following functions are not
    known to be defined: eieio-customize-object,
    eieio-custom-object-apply-reset, eieio-custom-widget-insert

emacs-lisp/eieio-speedbar.el:426:1:Warning: the following functions are not
    known to be defined: eieio-speedbar-make-tag-line,
    eieio-speedbar-object-children, eieio-speedbar-expand

cedet/ede/base.el:662:1:Warning: the following functions are not known to be
    defined: ede-buffer-header-file, ede-target-sourcecode,
    ede-buffer-documentation-files, ede-documentation,
    ede-html-documentation

cedet/ede/config.el:417:1:Warning: the following functions are not known to be
    defined: ede-config-get-configuration,
    ede-config-setup-configuration,
    ede-commit

cedet/ede/custom.el:216:1:Warning: the following functions are not known to be
    defined: ede-customize, ede-commit-project


etc etc.




This bug report was last modified 10 years and 18 days ago.

Previous Next


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