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

Dan Corkill corkill at gbbopen.org
Fri Oct 30 03:25:37 PDT 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: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20091030/c785af16/attachment.htm>

More information about the Openmcl-devel mailing list