Make -fshort-logic -funtyped-nil -fvariadic-args default for -std=gmqcc

This commit is contained in:
Dale Weiler 2013-08-29 07:56:22 -04:00
parent f8af7adcd7
commit c8b4eac618

4
main.c
View file

@ -165,6 +165,9 @@ static bool options_parse(int argc, char **argv) {
opts_set(opts.flags, ADJUST_VECTOR_FIELDS, true);
opts_set(opts.flags, CORRECT_LOGIC, true);
opts_set(opts.flags, SHORT_LOGIC, true);
opts_set(opts.flags, UNTYPED_NIL, true);
opts_set(opts.flags, VARIADIC_ARGS, true);
opts_set(opts.flags, FALSE_EMPTY_STRINGS, false);
opts_set(opts.flags, TRUE_EMPTY_STRINGS, true);
opts_set(opts.flags, LOOP_LABELS, true);
@ -176,6 +179,7 @@ static bool options_parse(int argc, char **argv) {
opts_set(opts.warn, WARN_BREAKDEF, true);
OPTS_OPTION_U32(OPTION_STANDARD) = COMPILER_GMQCC;
} else if (!strcmp(argarg, "qcc")) {