update gen_cast

This commit is contained in:
grischka
2019-12-16 18:51:28 +01:00
parent 35475b5423
commit 89372dc482
10 changed files with 376 additions and 283 deletions

View File

@@ -1965,7 +1965,8 @@ reparse:
}
break;
case TCC_OPTION_W:
if (set_flag(s, options_W, optarg) < 0)
s->warn_none = 0;
if (optarg[0] && set_flag(s, options_W, optarg) < 0)
goto unsupported_option;
break;
case TCC_OPTION_w: