* fixed bug in MEMBER type: (MEMBER 0.0) is not the same as
(SINGLE-FLOAT 0.0 0.0), because of the existence of -0.0 which is
TYPEP the latter but not the former.
+ * compiler issues a full WARNING on calling of an undefined function
+ with a name from the CL package.
* fixed some bugs revealed by Paul Dietz' test suite:
** COPY-ALIST now signals an error if its argument is a dotted
list;
;; not wanted by default after build is complete. (And if it's
;; wanted, it can easily be turned back on.)
#+sb-show (setf sb-int:*/show* nil)
+ ;; The system is complete now, all standard functions are
+ ;; defined.
+ (setq sb-c::*flame-on-necessarily-undefined-function* t)
(sb-ext:save-lisp-and-die "output/sbcl.core" :purify t)
EOF
*last-source-form* *last-format-string* *last-format-args*
*last-message-count* *lexenv*))
+;;; Whether call of a function which cannot be defined causes a full
+;;; warning.
+(defvar *flame-on-necessarily-undefined-function* nil)
+
(defvar *check-consistency* nil)
(defvar *all-components*)
(warnings (undefined-warning-warnings undef))
(undefined-warning-count (undefined-warning-count undef)))
(dolist (*compiler-error-context* warnings)
- (compiler-style-warn "undefined ~(~A~): ~S" kind name))
+ (if #-sb-xc-host (and (eq kind :function)
+ (symbolp name) ; FIXME: (SETF CL:fo)
+ (eq (symbol-package name) *cl-package*)
+ *flame-on-necessarily-undefined-function*)
+ #+sb-xc-host nil
+ (compiler-warn "undefined ~(~A~): ~S" kind name)
+ (compiler-style-warn "undefined ~(~A~): ~S" kind name)))
(let ((warn-count (length warnings)))
(when (and warnings (> undefined-warning-count warn-count))
(let ((more (- undefined-warning-count warn-count)))
(compiler-style-warn
"~W more use~:P of undefined ~(~A~) ~S"
more kind name))))))
-
+
(dolist (kind '(:variable :function :type))
(let ((summary (mapcar #'undefined-warning-name
(remove kind undefs :test-not #'eq
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.pre8.101"
+"0.pre8.102"