From: Wolfgang Bumiller Date: Sat, 28 Jul 2012 19:56:35 +0000 (+0200) Subject: test/ast-test.c must define opts_ variables since we don't compile main.c into it X-Git-Tag: 0.1-rc1~364^2~3 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=06ee0dc4f7db73a3785ee08317513d72e7bd0a61;p=xonotic%2Fgmqcc.git test/ast-test.c must define opts_ variables since we don't compile main.c into it --- diff --git a/test/ast-test.c b/test/ast-test.c index c57e436..3862144 100644 --- a/test/ast-test.c +++ b/test/ast-test.c @@ -12,6 +12,15 @@ VECTOR_MAKE(ast_value*, globals); VECTOR_MAKE(ast_function*, functions); +uint32_t opts_flags[1 + (COUNT_FLAGS / 32)]; +uint32_t opts_warn [1 + (COUNT_WARNINGS / 32)]; + +uint32_t opts_O = 1; +const char *opts_output = "progs.dat"; +int opts_standard = COMPILER_GMQCC; +bool opts_debug = false; +bool opts_memchk = false; + #include "ast-macros.h" int main()