Hi everyone,

I had a very similar problem using gtk and chicken, and it was a locale problem. Here you can find a very simple test case to reproduce the problem:

;;
(import chicken scheme foreign)

#>
#include <locale.h>

int main(int argc, char** argv) {
   setlocale(LC_NUMERIC, "es_AR.UTF-8");
   CHICKEN_run(C_toplevel);
   return 0;
}
<#

(return-to-host)
;;

I'm choosing es_AR as locale because that's my main locale, but this is probably related to the fact that here we use "," for decimal points (so it might work with any locale with such property).

HIH,
Regards,
Hugo

_______________________________________________
Chicken-hackers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to