From 06ee0dc4f7db73a3785ee08317513d72e7bd0a61 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Sat, 28 Jul 2012 21:56:35 +0200 Subject: [PATCH] test/ast-test.c must define opts_ variables since we don't compile main.c into it --- test/ast-test.c | 9 +++++++++ 1 file changed, 9 insertions(+) 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() -- 2.39.2