mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-25 03:51:26 +00:00
Another hardcoded -std=gmqcc option removed and added to the implied -std=gmqcc flags
This commit is contained in:
parent
0626bbef8e
commit
0920cb6ec4
2 changed files with 2 additions and 2 deletions
1
main.c
1
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, INITIALIZED_NONCONSTANTS, true);
|
||||
opts_set(opts.werror, WARN_INVALID_PARAMETER_COUNT, true);
|
||||
opts_set(opts.werror, WARN_MISSING_RETURN_VALUES, true);
|
||||
opts.standard = COMPILER_GMQCC;
|
||||
|
|
3
parser.c
3
parser.c
|
@ -4892,8 +4892,7 @@ skipvar:
|
|||
}
|
||||
else
|
||||
{
|
||||
if (opts.standard != COMPILER_GMQCC &&
|
||||
!OPTS_FLAG(INITIALIZED_NONCONSTANTS) &&
|
||||
if (!OPTS_FLAG(INITIALIZED_NONCONSTANTS) &&
|
||||
qualifier != CV_VAR)
|
||||
{
|
||||
var->cvq = CV_CONST;
|
||||
|
|
Loading…
Reference in a new issue