What is wrong with that code?
Do you mean that “graaaaa” is an undefined variable? That’s only known when the program is linked, possibly dynamically at run time. Gambit will give a warning at link time.
Marc
On Dec 7, 2015, at 11:18 AM, ben yakawp ben.lists@yakawp.com wrote:
hi Is there a way of making the compilation or at least the inline-host-statement more strict, so that typing errors in this case could be caught by the compiler.
(define (ffiprint arg) (##inline-host-statement "print(@1@);\n" graaaaaa ))
gsc seems to be ok with this
regards ben
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list