Skip to content

Instantly share code, notes, and snippets.

@naruse
Created March 24, 2015 02:40
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 naruse/b0fc7b2287425c428823 to your computer and use it in GitHub Desktop.
Save naruse/b0fc7b2287425c428823 to your computer and use it in GitHub Desktop.
naruse@MacBook-Pro ~/dev/HexLang/hex/compiler (master)$:make compiler.out
gcc -Wno-implicit parser.o lex.yy.c parser.tab.c ast.o semantics.o vtable.o ../base/hashmap.o ../base/strbuf.o ../base/hash.o compiler.c -o compiler.out
parser.y:695:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
1 warning generated.
compiler.c:63:66: error: too many arguments to function call, expected 3, have 4
hex_semantics_check_stmt_group(vtable, stmt_group, scope_type, indent_level);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~
./semantics.h:32:1: note: 'hex_semantics_check_stmt_group' declared here
int
^
1 error generated.
make: *** [compiler.out] Error 1
naruse@MacBook-Pro ~/dev/HexLang/hex/compiler (master)$:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment