X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=opts.c;h=334186b8cf9a034764d38c53734026d350631f74;hp=269a69d0dc813bfec4b5a07c0e07651aefd37ee9;hb=5cfd97c344b5a3d90409cd0ba04b410b2cdd25b8;hpb=24f3098418003271b26b6f0f1ba6e8411fa6e672 diff --git a/opts.c b/opts.c index 269a69d..334186b 100644 --- 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) {