Skip to content
Snippets Groups Projects
Commit d364e34c authored by csr21's avatar csr21
Browse files

Add xrender to the list of things to build

Add xrender to the list of things to build
Add a new method specialized on xrender-source-file to muffle
compiler notes under sbcl, as they distract from compiler notes that we
care more about elsewhere

darcs-hash:20030616133156-ed5a3-83b5f4ffc4a5168f08fcbe0b637d1eb5d60c4955.gz
parent e90098b5
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,7 @@
(pushnew :clx-ansi-common-lisp *features*)
(defclass clx-source-file (cl-source-file) ())
(defclass xrender-source-file (clx-source-file) ())
(defsystem CLX
:depends-on (sb-bsd-sockets)
......@@ -53,10 +54,23 @@
(:file "manager")
(:file "image")
(:file "resource")
;; FIXME: I'm fairly sure that these don't need to be serially
;; compiled. We should reflect that here, so that a change in
;; "shape" doesn't trigger recompilation of "xvidmode" and
;; "xrender".
(:file "shape")
(:file "xvidmode")))
(:file "xvidmode")
(:xrender-source-file "xrender")))
;;; (:module doc ("doc") (:type :lisp-example))
#+sbcl
(defmethod perform :around ((o compile-op) (f xrender-source-file))
;; RENDER would appear to be an inherently slow protocol; further,
;; it's not set in stone, and consequently we care less about speed
;; than we do about correctness.
(handler-bind ((sb-ext:compiler-note #'muffle-warning))
(call-next-method)))
#+sbcl
(defmethod perform :around ((o compile-op) (f clx-source-file))
;; our CLX library should compile without WARNINGs, and ideally
......@@ -86,8 +100,8 @@
(handler-bind
((sb-ext:defconstant-uneql
(lambda (c)
;; this really means "don't warn be about efficiency of
;; generic array access, please"
;; KLUDGE: this really means "don't warn me about
;; efficiency of generic array access, please"
(declare (optimize (sb-ext:inhibit-warnings 3)))
(let ((old (sb-ext:defconstant-uneql-old-value c))
(new (sb-ext:defconstant-uneql-new-value c)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment