[Openmcl-devel] Unexpected compiler warning in CCL-1.4

Dan Corkill corkill at gbbopen.org
Fri Oct 30 10:25:37 UTC 2009


I was surprised by the following compiler warning in CCL 1.4 (r13131),  
given the fboundp check:

> ? (defun test () (when (fboundp 'some-fn) (funcall 'some-fn)))
> ;Compiler warnings :
> ;   In test: Undefined function some-fn
> test

No warning was issued in CCL 1.3.

BTW, the following doesn't issue the warning:

> ? (defun test () (when (fboundp 'some-fn) (funcall (fdefinition  
> 'some-fn))))
> test



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clozure.com/pipermail/openmcl-devel/attachments/20091030/c785af16/attachment.html>


More information about the Openmcl-devel mailing list