-fbail-on-werror option
[xonotic/gmqcc.git] / opts.c
diff --git a/opts.c b/opts.c
index 269a69d0dc813bfec4b5a07c0e07651aefd37ee9..334186b8cf9a034764d38c53734026d350631f74 100644 (file)
--- a/opts.c
+++ b/opts.c
@@ -59,6 +59,7 @@ static void opts_setdefault() {
     opts_set(opts.flags, FTEPP,                          false);
     opts_set(opts.flags, FTEPP_PREDEFS,                  false);
     opts_set(opts.flags, CORRECT_TERNARY,                true);
+    opts_set(opts.flags, BAIL_ON_WERROR,                 true);
 }
 
 void opts_init(const char *output, int standard, size_t arraysize) {