From: Wolfgang Bumiller Date: Sun, 6 Jan 2013 19:49:57 +0000 (+0100) Subject: Adding -ftranslatable-strings to -std=gmqcc X-Git-Tag: before-library~357 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5d1685b93d9d5beb73a24d95a048debe0e5cd0e6;p=xonotic%2Fgmqcc.git Adding -ftranslatable-strings to -std=gmqcc --- diff --git a/main.c b/main.c index 850ce0e..77bb8da 100644 --- a/main.c +++ b/main.c @@ -163,6 +163,7 @@ static bool options_parse(int argc, char **argv) { opts_set(opts.flags, FALSE_EMPTY_STRINGS, false); opts_set(opts.flags, TRUE_EMPTY_STRINGS, true); opts_set(opts.flags, LOOP_LABELS, true); + opts_set(opts.flags, TRANSLATABLE_STRINGS, true); opts_set(opts.flags, INITIALIZED_NONCONSTANTS, true); opts_set(opts.werror, WARN_INVALID_PARAMETER_COUNT, true); opts_set(opts.werror, WARN_MISSING_RETURN_VALUES, true); @@ -180,8 +181,8 @@ static bool options_parse(int argc, char **argv) { opts_set(opts.flags, TRANSLATABLE_STRINGS, true); opts_set(opts.flags, ADJUST_VECTOR_FIELDS, false); opts_set(opts.flags, ASSIGN_FUNCTION_TYPES, true); - opts_set(opts.warn, WARN_TERNARY_PRECEDENCE, true); opts_set(opts.flags, CORRECT_TERNARY, false); + opts_set(opts.warn, WARN_TERNARY_PRECEDENCE, true); opts.standard = COMPILER_FTEQCC; } else if (!strcmp(argarg, "qccx")) {