On 3/8/07, foobar <[EMAIL PROTECTED]> wrote:
Hi list,

i've tried to compile a file that uses some macros defined with
syntax-rules.
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
(require 'cps-syntax).

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".


cheers,
felix


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to