From 21e60f842413c4129262bb3e2bdd3a905d8eb15a Mon Sep 17 00:00:00 2001 From: Nikodemus Siivola Date: Tue, 12 Jun 2012 23:49:09 +0300 Subject: [PATCH] cross-compiler OAOOM ugliness Couple of conditions for easier debugging of the build. --- src/code/cross-condition.lisp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/code/cross-condition.lisp b/src/code/cross-condition.lisp index c487980..a5f8b2b 100644 --- a/src/code/cross-condition.lisp +++ b/src/code/cross-condition.lisp @@ -60,6 +60,24 @@ please submit a bug report to the developers' mailing list, details of ~ which can be found at .~:@>" ())))) +;;; OAOOM... +(define-condition compiler-macro-keyword-problem () + ((argument :initarg :argument :reader compiler-macro-keyword-argument)) + (:report (lambda (condition stream) + (format stream "~@" + (compiler-macro-keyword-argument condition))))) + +;;; OAOOM... +(define-condition duplicate-definition (reference-condition warning) + ((name :initarg :name :reader duplicate-definition-name)) + (:report (lambda (c s) + (format s "~@" + (duplicate-definition-name c)))) + (:default-initargs :references (list '(:ansi-cl :section (3 2 2 3))))) + ;;; These are should never be instantiated before the real definitions ;;; come in. (deftype package-lock-violation () nil) -- 1.7.10.4