+ } else if(arg[0] == '-' && arg[1] == 'W') {
+ const char *opt;
+ GET_ARG_AFTER(opt, "-W");
+ if (strcmp(opt, "error") == 0) {
+ warnings_are_errors = true;
+ } else if (strcmp(opt, "fatal-errors") == 0) {
+ fatal_errors = true;
+ } else {
+ fprintf(stderr, "warning: ignoring gcc option -W%s\n", opt);
+ }