[armedbear-devel] IGNORE declaration in inline function not heeded
(declaim (inline foo)) (defun foo (x) (declare (ignore x)) 99) (defun bar (a) (foo a)) compile-file emits ; Caught STYLE-WARNING: ; The variable X is defined but never used. 1.1.0-dev-svn-14066
Hi James, Fixed in r14067. Thanks for the report! Bye, Erik. PS: All declarations were dropped, not just IGNORE. On Thu, Aug 9, 2012 at 2:10 AM, James M. Lawrence <llmjjmll@gmail.com>wrote:
(declaim (inline foo)) (defun foo (x) (declare (ignore x)) 99)
(defun bar (a) (foo a))
compile-file emits
; Caught STYLE-WARNING: ; The variable X is defined but never used.
1.1.0-dev-svn-14066
_______________________________________________ armedbear-devel mailing list armedbear-devel@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel
participants (2)
-
Erik Huelsmann
-
James M. Lawrence