[alexandria-devel] XCVB patch for Alexandria

Attila Lendvai attila.lendvai at gmail.com
Fri Oct 9 19:54:09 UTC 2009


>> Here's what I need to get Alexandria to compile under XCVB.

if there's no objection against this patch, i'll eventually apply it.

although, i myself have some questions:

why is this eval-when needed? extract-function-name is not used
anywhere in that file...


+(eval-when (:compile-toplevel :load-toplevel :execute)
 (defun extract-function-name (spec)
   "Useful for macros that want to mimic the functional interface for functions
 like #'eq and 'eq."
@@ -30,6 +33,7 @@
                                 , at forms))))
                       clauses)
             (t ,default)))))
+) ;; end EVAL-WHEN


or does xcvb need everything to be also eval-when'd at
:compile-toplevel which is used at compile time (e.g. in a macro body)
in any other file that depends on it? that sounds like a strong
requirement, especially if it's the default... not something that one
can not live with, but something substantially different than asdf.

wouldn't it be nicer to do it using :compile-depends-on? if i'm not
way off, that is...

-- 
 attila




More information about the alexandria-devel mailing list