]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - main.c
handling TOKEN_CHARCONST - -Wmultibyte-character
[xonotic/gmqcc.git] / main.c
diff --git a/main.c b/main.c
index d35e33f83d5c80f27ce47dcd9eedb7ad33df4438..6ee7d8e4611968eb843023d3c6ac8ace965fc64b 100644 (file)
--- a/main.c
+++ b/main.c
@@ -473,6 +473,8 @@ int main(int argc, char **argv) {
     options_set(opts_warn, WARN_PREPROCESSOR, true);
     options_set(opts_warn, WARN_MULTIFILE_IF, true);
     options_set(opts_warn, WARN_DOUBLE_DECLARATION, true);
+    options_set(opts_warn, WARN_CONST_VAR, true);
+    options_set(opts_warn, WARN_MULTIBYTE_CHARACTER, true);
 
     options_set(opts_flags, ADJUST_VECTOR_FIELDS, true);
     options_set(opts_flags, FTEPP, false);