mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-21 02:40:56 +00:00
Make -fshort-logic -funtyped-nil -fvariadic-args default for -std=gmqcc
This commit is contained in:
parent
f8af7adcd7
commit
c8b4eac618
1 changed files with 4 additions and 0 deletions
4
main.c
4
main.c
|
@ -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")) {
|
||||
|
|
Loading…
Reference in a new issue