GNU bug report logs - #11735
24.1.50; "Warning: Unknown defun property ... in ..."

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Mon, 18 Jun 2012 17:50:01 UTC

Severity: minor

Tags: wontfix

Found in version 24.1.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 11735 <at> debbugs.gnu.org
Subject: bug#11735: 24.1.50; "Warning: Unknown defun property ... in ..."
Date: Mon, 18 Jun 2012 16:37:24 -0400
> I load a library that I did not write, which does this:
> (require 'cl)
> (defun foo 
>     (short full 
>      short-index initial-full-index 
>      chunks current-chunk current-chunk-pos 
>      recurse-p)
>   "..."
>   (declare ;(optimize speed)
>    (fixnum short-index initial-full-index)
>    (simple-string short full)
>    (special *all-chunks*))
 
> Now I see this in *Messages*"
 
> Warning: Unknown defun property fixnum in foo
> Warning: Unknown defun property simple-string in foo
 
> Is this a bug?
 
It's a name-clash between Elisp's `declare' and CL's `declare', which
results in warnings, which AFAIK are harmless.


        Stefan




This bug report was last modified 11 years and 166 days ago.

Previous Next


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