mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-30 15:41:12 +00:00
activate -Wfield-redeclared by default
This commit is contained in:
parent
47243d0df1
commit
1c81c27cee
1 changed files with 1 additions and 0 deletions
1
main.c
1
main.c
|
@ -370,6 +370,7 @@ int main(int argc, char **argv) {
|
||||||
/* default options / warn flags */
|
/* default options / warn flags */
|
||||||
options_set(opts_warn, WARN_UNKNOWN_CONTROL_SEQUENCE, true);
|
options_set(opts_warn, WARN_UNKNOWN_CONTROL_SEQUENCE, true);
|
||||||
options_set(opts_warn, WARN_EXTENSIONS, true);
|
options_set(opts_warn, WARN_EXTENSIONS, true);
|
||||||
|
options_set(opts_warn, WARN_FIELD_REDECLARED, true);
|
||||||
|
|
||||||
if (!options_parse(argc, argv)) {
|
if (!options_parse(argc, argv)) {
|
||||||
return usage();
|
return usage();
|
||||||
|
|
Loading…
Reference in a new issue