this new gcc 8 warning triggers here, but is useless for our purposes.
Unified · Split
| @@ -368,7 +368,7 @@ fi · 367 unmodified lines | ||
| 368 | 368 | if ! echo "$cc" | grep -q "tcc"; then |
| 369 | 369 | OPT1="-Wdeclaration-after-statement -fno-strict-aliasing" |
| 370 | 370 | # we want -Wno- but gcc does not always reject unknown -Wno- options |
| 371 | − OPT2="-Wpointer-sign -Wsign-compare -Wunused-result" | |
| 371 | + OPT2="-Wpointer-sign -Wsign-compare -Wunused-result -Wformat-truncation" | |
| 372 | 372 | if echo "$cc" | grep -q "clang"; then |
| 373 | 373 | OPT1="$OPT1 -fheinous-gnu-extensions" |
| 374 | 374 | OPT2="$OPT2 -Wstring-plus-int" |