compile-file, cond-expand, srfi-9

"Dan Muresan" <[email protected]> Tue, 30 Jan 2007 15:04:46 +0200
Newsgroups gmane.comp.java.sisc.user
Message-ID <[email protected]>
Hi,

here's a deadly combo (for SISC) -- save this to mod.scm:

(cond-expand (sisc

(require-extension (srfi 9))

(module mod (f)
(define-record-type rec1 (make-rec1) rec1?)
(define (f x) x)

)))

Then,

SISC (1.16.4)
#;> (compile-file "mod.scm" "mod.scc")
Error: missing definition for export(s) (f)


Dan Muresan
http://alumnus.caltech.edu/~muresan/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV