[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sbcl-devel
Subject:    Re: [Sbcl-devel] How is everybody feeling about the &optional + &key style-warning?
From:       Attila Lendvai <attila () lendvai ! name>
Date:       2018-12-18 16:09:49
Message-ID: CAE4vfcKBMo6uHYUmM7N2J2WOuJ3OYa+CwcqDW5o61o+0AXL2qA () mail ! gmail ! com
[Download RAW message or body]

> So for a couple of cases like that I'd like to be able to muffle that
> warning.  Honestly, it would be great to be able to muffle these things
> locally (e.g., per function definition) instead of having to do it on a
> per-file basis (i.e., muffle around a call to `compile-file`).
>
> I don't think it's easy to do that, is it?

try something like this:

(locally #+sbcl(declare (sb-ext:muffle-conditions
sb-ext:code-deletion-note)) ...)

-- 
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
"To stay young requires unceasing cultivation of the ability to
unlearn old falsehoods."
	— Robert Heinlein (1907–1988), 'Time Enough For Love' (1973)


_______________________________________________
Sbcl-devel mailing list
Sbcl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic