]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - main.c
Merge branch 'master' into diagnostics
[xonotic/gmqcc.git] / main.c
diff --git a/main.c b/main.c
index 98de0e9176b4e9924e07757b536b41a6bee2446b..02da471455b82280c4466dafc317e296c154dcfd 100644 (file)
--- a/main.c
+++ b/main.c
@@ -180,6 +180,7 @@ static bool options_parse(int argc, char **argv) {
 
 
                     OPTS_OPTION_U32(OPTION_STANDARD) = COMPILER_GMQCC;
+                    OPTS_OPTION_BOOL(OPTION_DIAGNOSTICS) = true;
                     OPTS_OPTION_BOOL(OPTION_STATISTICS) = true;
 
                 } else if (!strcmp(argarg, "qcc")) {
@@ -783,7 +784,6 @@ int main(int argc, char **argv) {
             }
         }
     }
-
 cleanup:
     util_debug("COM", "cleaning ...\n");
     if (ftepp)