Test output for inline
/root/751-patch/chicken/bin/csi -script run.scm < /dev/null
Syntax error (import): cannot import from undefined module
scheme
Expansion history:
<syntax> (##core#begin (##core#require-extension (bind) #t))
<syntax> (##core#require-extension (bind) #t)
<syntax> (##core#begin (##core#begin (##core#begin (##sys#require (quote bind))) (import bind)) (##core#undef......
<syntax> (##core#begin (##core#begin (##sys#require (quote bind))) (import bind))
<syntax> (##core#begin (##sys#require (quote bind)))
<syntax> (##sys#require (quote bind))
<syntax> (quote bind)
<syntax> (##core#quote bind)
<syntax> (import bind)
<syntax> (import scheme chicken foreign) <--
Error: shell command terminated with non-zero exit status 17920: /usr/local/chicken-4.7.2/bin/chicken .cache/0ef945483ec4f54c4ea7d609c1e64b85.scm -output-file .cache/0ef945483ec4f54c4ea7d609c1e64b85.c -dynamic -feature chicken-compile-shared -optimize-level 2 -debug-level 1 -require-extension bind
Error: shell invocation failed with non-zero return status
"csc .cache/0ef945483ec4f54c4ea7d609c1e64b85.scm -s -O2 -d1 -R bind"
256
Call history:
<syntax> (import scheme chicken (only lolevel number-of-bytes) (only to-hex str_to_hex) (only type-checks che......
<syntax> (##core#undefined)
<syntax> (##core#undefined)
<syntax> (import scheme chicken (only lolevel number-of-bytes) (only srfi-4 s8vector? u8vector? s16vector? u1......
<syntax> (##core#undefined)
<syntax> (##core#undefined)
<syntax> (##core#undefined)
<syntax> (##core#undefined)
<syntax> (##core#undefined)
<eval> (##sys#require (quote inline))
type-checks.scm:54: ##sys#require
<syntax> (inline "void foo(char *msg) { fputs(msg, stdout); }")
<syntax> (##core#begin (inline-compile70 "void foo(char *msg) { fputs(msg, stdout); }"))
<syntax> (inline-compile70 "void foo(char *msg) { fputs(msg, stdout); }")
<eval> (inline-compile70 "void foo(char *msg) { fputs(msg, stdout); }")
type-checks.scm:233: blob? <--