[slime-devel] STYLE-WARNING/NOTE distinction

Christophe Rhodes csr21 at cam.ac.uk
Fri Oct 17 17:34:50 UTC 2003


Hi,

SBCL pays careful attention to the distinction between a STYLE-WARNING
(a condition strong enough to warrant returning from COMPILE-FILE with
WARNINGSP set) and a compiler note (generally an optimization note,
but sometimes a code deletion note or something similar), which aren't
counted as warnings.

Attached is a patch to implement this.  I know cmucl doesn't have this
distinction; I'm unsure as to whether OpenMCL does, so I've just
implemented it for SBCL; the behaviour of other lisps should be
unchanged.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: compiler-notes.diff
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20031017/4644b9ea/attachment.ksh>
-------------- next part --------------

Cheers,

Christophe
-- 
http://www-jcsu.jesus.cam.ac.uk/~csr21/       +44 1223 510 299/+44 7729 383 757
(set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b)))
(defvar b "~&Just another Lisp hacker~%")    (pprint #36rJesusCollegeCambridge)


More information about the slime-devel mailing list