mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-18 22:31:36 +00:00
Error when using both -ffalse-empty-strings and -ftrue-empty-strings
This commit is contained in:
parent
8459895fdd
commit
7efc3a4c21
1 changed files with 5 additions and 0 deletions
5
main.c
5
main.c
|
@ -508,6 +508,11 @@ int main(int argc, char **argv) {
|
|||
return usage();
|
||||
}
|
||||
|
||||
if (OPTS_FLAG(TRUE_EMPTY_STRINGS) && OPTS_FLAG(FALSE_EMPTY_STRINGS)) {
|
||||
con_err("-ftrue-empty-strings and -ffalse-empty-strings are mutually exclusive");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
/* the standard decides which set of operators to use */
|
||||
if (opts.standard == COMPILER_GMQCC) {
|
||||
operators = c_operators;
|
||||
|
|
Loading…
Reference in a new issue