[Openmcl-devel] Muffling "unused lexical variable" during compilation

Gail Zacharias gz at clozure.com
Thu Nov 17 16:41:56 PST 2016


Something like this (untested):

(handler-bind
  ((ccl:compiler-warning
    (lambda (c)
      (when (eq (ccl::compiler-warning-warning-type c) :unused)
        (muffle-warning c)))))
 (compile-my-system))



On Thu, Nov 17, 2016 at 1:43 PM, Zach Beane <xach at xach.com> wrote:

> Is there an easy way to muffle "unused lexical variable" notices during
> compilation? I know they are useful, but I am working on a project that has
> more important warnings to deal with, so the lexical variable notices are
> obscuring things.
>
> Zach
>
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> https://lists.clozure.com/mailman/listinfo/openmcl-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20161117/ffb5f3cf/attachment.htm>


More information about the Openmcl-devel mailing list