bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11735: 24.1.50; "Warning: Unknown defun property ... in ..."


From: Stefan Monnier
Subject: bug#11735: 24.1.50; "Warning: Unknown defun property ... in ..."
Date: Mon, 18 Jun 2012 16:37:24 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]