chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] (include) in (repl)


From: Alex Queiroz
Subject: Re: [Chicken-users] (include) in (repl)
Date: Thu, 20 Sep 2007 09:07:10 -0300

Hallo,

On 9/20/07, Dan Muresan <address@hidden> wrote:
> Hi,
>
> if I compile x.scm which contains simply
>
> (repl)
>
> with
>
> csc -v -R syntax-case -run-time-macros x.scm
>
> I get the following error during (repl) execution:
>
> $ ./x
> #;> (require 'syntax-case)
> ; loading /opt/chicken-2.7/lib/chicken/2/syntax-case.so ...
> ; loading /opt/chicken-2.7/lib/chicken/2/syntax-case-chicken-macros.scm ...
> Warning: the following toplevel variables are referenced but unbound:
>    when (in one-file.481)
>
> #;> (include "none.scm")
> ; including none.scm ...
> Error: unbound variable: when
>
> Am I doing something wrong? This is the current "development snapshot"
> of Chicken, but it seems to happen in 2.6 as well for me (and I didn't
> have this problem in 2.5).
>

     Use the following x.scm:

=====
(cond-expand
   (compiling (include "chicken-more-macros"))
   (else))

(repl)
=====

     and compile as you did.

Cheers,
-- 
-alex
http://www.ventonegro.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]