Is there a portable way to create a simple-style-warning condition that when signaled with WARN won't cause SLIME to claim that file compilation failed, that works for all/most CL implementations?
I'm trying to use this:
(define-condition simple-style-warning (style-warning simple-warning) ())
(found in one of KMP's usenet posts: http://groups.google.com/group/comp.lang.lisp/browse_thread/thread/c55278c8d...)
but it works inconsistently in SBCL and CCL.
Thank you, Vladimir
Vladimir Sedach vsedach@gmail.com writes:
Is there a portable way to create a simple-style-warning condition that when signaled with WARN won't cause SLIME to claim that file compilation failed, that works for all/most CL implementations?
I'm trying to use this:
(define-condition simple-style-warning (style-warning simple-warning) ())
(found in one of KMP's usenet posts: http://groups.google.com/group/comp.lang.lisp/browse_thread/thread/c55278c8d...)
but it works inconsistently in SBCL and CCL.
Slime claims that compilation is failed when the third value, failure-p, of COMPILE-FILE is T. And it's specified to return T whenever "error or warning (other than style-warning)" were signalled.
On Thu, 20 Jan 2011 23:47:55 -0500, Vladimir Sedach said:
Is there a portable way to create a simple-style-warning condition that when signaled with WARN won't cause SLIME to claim that file compilation failed, that works for all/most CL implementations?
I'm trying to use this:
(define-condition simple-style-warning (style-warning simple-warning) ())
(found in one of KMP's usenet posts: http://groups.google.com/group/comp.lang.lisp/browse_thread/thread/c55278c8d...)
but it works inconsistently in SBCL and CCL.
In what way inconsistently? I would expect that to work.