mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-21 18:30:52 +00:00
flags and warnings not printed anymore without -dump
This commit is contained in:
parent
107100c666
commit
5064554b76
1 changed files with 10 additions and 8 deletions
18
main.c
18
main.c
|
@ -347,15 +347,17 @@ int main(int argc, char **argv) {
|
|||
return usage();
|
||||
}
|
||||
|
||||
for (itr = 0; itr < COUNT_FLAGS; ++itr) {
|
||||
printf("Flag %s = %i\n", opts_flag_list[itr].name, OPTS_FLAG(itr));
|
||||
if (opts_dump) {
|
||||
for (itr = 0; itr < COUNT_FLAGS; ++itr) {
|
||||
printf("Flag %s = %i\n", opts_flag_list[itr].name, OPTS_FLAG(itr));
|
||||
}
|
||||
for (itr = 0; itr < COUNT_WARNINGS; ++itr) {
|
||||
printf("Warning %s = %i\n", opts_warn_list[itr].name, OPTS_WARN(itr));
|
||||
}
|
||||
printf("output = %s\n", opts_output);
|
||||
printf("optimization level = %i\n", (int)opts_O);
|
||||
printf("standard = %i\n", opts_standard);
|
||||
}
|
||||
for (itr = 0; itr < COUNT_WARNINGS; ++itr) {
|
||||
printf("Warning %s = %i\n", opts_warn_list[itr].name, OPTS_WARN(itr));
|
||||
}
|
||||
printf("output = %s\n", opts_output);
|
||||
printf("optimization level = %i\n", (int)opts_O);
|
||||
printf("standard = %i\n", opts_standard);
|
||||
|
||||
if (!parser_init()) {
|
||||
printf("failed to initialize parser\n");
|
||||
|
|
Loading…
Reference in a new issue