From 5d1685b93d9d5beb73a24d95a048debe0e5cd0e6 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Sun, 6 Jan 2013 20:49:57 +0100 Subject: [PATCH] Adding -ftranslatable-strings to -std=gmqcc --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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")) {