]> de.git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - opts.c
Arithmetic exception flag and a plethora of tests.
[xonotic/gmqcc.git] / opts.c
diff --git a/opts.c b/opts.c
index 79980247333fecd7aa105ef4f0bc52f79e0db62f..ddb48f7d00e6f6b27bad2341c4e13fb6594a3506 100644 (file)
--- a/opts.c
+++ b/opts.c
@@ -93,6 +93,7 @@ static void opts_setdefault(void) {
     opts_set(opts.warn,  WARN_CONST_OVERWRITE,           true);
     opts_set(opts.warn,  WARN_DIRECTIVE_INMACRO,         true);
     opts_set(opts.warn,  WARN_BUILTINS,                  true);
+    opts_set(opts.warn,  WARN_INEXACT_COMPARES,          true);
 
     /* flags */
     opts_set(opts.flags, ADJUST_VECTOR_FIELDS,           true);