[Openmcl-devel] Error in ENCODE-FILE-RANGE

Scott L. Burson Scott at sympoiesis.com
Sun Dec 5 03:16:35 UTC 2010


On Sat, Dec 4, 2010 at 5:09 PM, Scott L. Burson <Scott at sympoiesis.com> wrote:
>
> Hi,
>
> I have a source file that the CCL 1.6 compiler chokes on; I didn't have this problem in 1.5.  The symptom is that ENCODE-FILE-RANGE tries to subtract NIL from NIL.

Here's a patch:

--- nfcomp.lisp.~1~    2010-12-04 13:57:36.000000000 -0800
+++ nfcomp.lisp    2010-12-04 17:10:16.000000000 -0800
@@ -1145,7 +1145,8 @@
         (some *fasl-warnings-signalled-p*)
         (harsh *fasl-non-style-warnings-signalled-p*))
     (dolist (w warnings)
-      (unless (compiler-warning-source-note w)
+      (unless (or (compiler-warning-source-note w)
+          (null *fcomp-stream-position*))
         (setf (compiler-warning-source-note w)
               (make-source-note :source nil
                                 :filename *fasl-source-file*

-- Scott



More information about the Openmcl-devel mailing list