[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] compiled program with macros raises unbound-variable
Re: [Chicken-users] compiled program with macros raises unbound-variable error
Thu, 8 Mar 2007 11:28:51 +0100
On 3/8/07, foobar <address@hidden> wrote:
i've tried to compile a file that uses some macros defined with
I compiled it using: csc -R tinyclos foo.scm
So nothing special sofar.
The file compiles without warnings or errors.
Another file compiled to a shared-library
using csc -s cps.scm.
This file requires the macros via
Is cps-syntax a source file containing macros? Then you have to
make those macros available at _compile-time_, or the
compiler will not see them. "(require ...)" loads code at run-time,
not at compile-time. Try "require-for-syntax".