> * Christophe Rhodes <[EMAIL PROTECTED]> [2004-10-20 22:19:54 +0100]: > > Sam Steingold <[EMAIL PROTECTED]> writes: > >> I have a macro which expands to (inter alia) a FLET, which defines a >> local function which might - or might not! - be called by the caller of >> the macro. >> >> now, all callers of the macro which happen not to use the local function >> now emit "Note: Deleting unused function". >> >> is there a way to declare a local function "ignorable" to avoid such >> notes? > > Yes: the IGNORABLE declaration.
(flet ((foo () ...)) (declare (ignorable foo)) ...) is illegal because foo is a function, not a variable: ; Warning: Ignore declaration for unknown variable FOO. you mean (declare (ignorable #'foo)) ? is it a CMUCL extension? -- Sam Steingold (http://www.podval.org/~sds) running w2k <http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/> <http://www.mideasttruth.com/> <http://www.honestreporting.com> Only adults have difficulty with child-proof caps.
