Hi!
I don't understand why, but it seems that my gsi doesn't want to support c-lamda expression any longer. For example:
(define pow2 (c-lambda (int) int "power_of_2"))
*** ERROR IN (console)@1.14 -- Interpreter does not support ##c-lambda
I know that before, I could use them without any problems... I also tried to recompile gambit 4 beta 22 without the option enable-cplusplus with no differences...
What is happening? I'm not sure since when c-lambda's stopped working, but it might be after the insallation of snow?
Thank you for your help!
David
Afficher les réponses par date
David,
I don't understand why, but it seems that my gsi doesn't want to support c-lamda expression any longer. For example:
(define pow2 (c-lambda (int) int "power_of_2"))
*** ERROR IN (console)@1.14 -- Interpreter does not support ##c-lambda
I know that before, I could use them without any problems... I also tried to recompile gambit 4 beta 22 without the option enable-cplusplus with no differences...
What is happening? I'm not sure since when c-lambda's stopped working, but it might be after the insallation of snow?
That's unrelated (snow and c-lambda). But I'm surprised that you think it ever worked. c-lambda only works in code compiled to C. Of course, you can load compiled code from the interpreter. Put your code in a file and compile it with gsc. Then load it from gsi.
Hope this helps!
Dominique