Open haskellstudio opened 6 years ago
change typedef union Racket_Object (*Lambda)(); to typedef Racket_Object(*Lambda)(Racket_Object, Racket_Object*);
typedef union Racket_Object (*Lambda)();
typedef Racket_Object(*Lambda)(Racket_Object, Racket_Object*);
and change Racket_Object* env = malloc(sizeof(Racket_Object) * argc); to Racket_Object* env = (Racket_Object*)malloc(sizeof(Racket_Object) * argc);
Racket_Object* env = malloc(sizeof(Racket_Object) * argc);
Racket_Object* env = (Racket_Object*)malloc(sizeof(Racket_Object) * argc);
then the generated code will compile success with vs2015, thank for the great tutorial
change
typedef union Racket_Object (*Lambda)();
totypedef Racket_Object(*Lambda)(Racket_Object, Racket_Object*);
and change
Racket_Object* env = malloc(sizeof(Racket_Object) * argc);
toRacket_Object* env = (Racket_Object*)malloc(sizeof(Racket_Object) * argc);
then the generated code will compile success with vs2015, thank for the great tutorial