X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fcross-condition.lisp;h=e74fc3c2f4c55f38d2236a20e0d42ace68ab91af;hb=0b96758f3645dff3e681d82cc97ddab1faae27ac;hp=269241c15fa42d4f1d5bb896c3d8a328e9420506;hpb=fea8ea02847ddc0864546a02480fb3e97d6fa318;p=sbcl.git diff --git a/src/code/cross-condition.lisp b/src/code/cross-condition.lisp index 269241c..e74fc3c 100644 --- a/src/code/cross-condition.lisp +++ b/src/code/cross-condition.lisp @@ -17,7 +17,19 @@ ;;; compiler, it will only be a style-warning. (define-condition format-too-many-args-warning (simple-warning) ()) -(define-condition encapsulated-condition () ()) +;;; KLUDGE: OAOOM warning: see condition.lisp -- we want a full +;;; definition in the cross-compiler as well, in order to have nice +;;; error messages instead of complaints of undefined-function +;;; ENCAPSULATED-CONDITION. +(define-condition encapsulated-condition (condition) + ((condition :initarg :condition :reader encapsulated-condition))) + +;;; KLUDGE: another OAOOM problem, this time to allow conditions with +;;; REFERENCE-CONDITION in their supercondition list on the host. +;;; (This doesn't feel like the entirely right solution, it has to be +;;; said.) -- CSR, 2004-09-15 +(define-condition reference-condition () + ((references :initarg :references :reader reference-condition-references))) (define-condition bug (simple-error) ()