Skip to content

Instantly share code, notes, and snippets.

@bizenn
Created October 15, 2013 05:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bizenn/6986763 to your computer and use it in GitHub Desktop.
Save bizenn/6986763 to your computer and use it in GitHub Desktop.
Gauche HEAD build error.
gcc -DHAVE_CONFIG_H -I. -I. -I./../gc/include -I../gc/include -I./../gc/libatomic_ops/src -I../gc/libatomic_ops/src -I/usr/pkg/include -I/usr/local/include -I/usr/pkg/include -I/usr/local/include -no-cpp-precomp -g -O2 -no-cpp-precomp -fPIC -fno-common -fomit-frame-pointer -c vm.c
In file included from vm.c:35:
In file included from ./gauche.h:1183:
./gauche/writer.h:39:35: warning: redefinition of typedef 'ScmWriteContext' is a
C11 feature [-Wtypedef-redefinition]
typedef struct ScmWriteContextRec ScmWriteContext; /* opaque */
^
./gauche.h:508:35: note: previous definition is here
typedef struct ScmWriteContextRec ScmWriteContext;
^
In file included from vm.c:826:
./vminsn.c:706:49: error: expected expression
{{ScmObj nm;int argc;int proctype;call_entry :; #undef APPLY_CALL
^
./vminsn.c:708:21: error: expected expression
tail_apply_entry :; #define APPLY_CALL
^
../lib/gauche/cgen/cise.scm:1029:389: error: use of undeclared label
'tail_apply_entry'
...label_TAIL_CALL;}}*((SP)-(1))=(rest);VAL0=(proc);DISCARD_ENV();goto tail...
^
1 warning and 3 errors generated.
make[1]: *** [vm.o] Error 1
make: *** [all] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment