]> de.git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
Some default options for -std=gmqcc including -floop-labels
authorWolfgang Bumiller <blub@speed.at>
Thu, 27 Dec 2012 23:21:53 +0000 (00:21 +0100)
committerWolfgang Bumiller <blub@speed.at>
Thu, 27 Dec 2012 23:21:53 +0000 (00:21 +0100)
main.c

diff --git a/main.c b/main.c
index af4a34cb1f094f02b56d7c8a3546abacd0594645..244d57000c6afae7f0473e3e6bd3eb41b8d2f49a 100644 (file)
--- a/main.c
+++ b/main.c
@@ -158,7 +158,11 @@ static bool options_parse(int argc, char **argv) {
             if (options_long_gcc("std", &argc, &argv, &argarg)) {
                 if (!strcmp(argarg, "gmqcc") || !strcmp(argarg, "default")) {
 
-                    opts_set(opts.flags, ADJUST_VECTOR_FIELDS,  true);
+                    opts_set(opts.flags, ADJUST_VECTOR_FIELDS, true);
+                    opts_set(opts.flags, CORRECT_LOGIC,        true);
+                    opts_set(opts.flags, FALSE_EMPTY_STRINGS,  false);
+                    opts_set(opts.flags, TRUE_EMPTY_STRINGS,   true);
+                    opts_set(opts.flags, LOOP_LABELS,          true);
                     opts.standard = COMPILER_GMQCC;
 
                 } else if (!strcmp(argarg, "qcc")) {