From 63f69c2bdd1be22200687deea2b5f5601c27700b Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Fri, 21 Dec 2018 01:03:38 +0100 Subject: [PATCH] Disable -Wformat-truncation this new gcc 8 warning triggers here, but is useless for our purposes. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 63881a2..c35686a 100755 --- a/configure +++ b/configure @@ -368,7 +368,7 @@ fi if ! echo "$cc" | grep -q "tcc"; then OPT1="-Wdeclaration-after-statement -fno-strict-aliasing" # we want -Wno- but gcc does not always reject unknown -Wno- options - OPT2="-Wpointer-sign -Wsign-compare -Wunused-result" + OPT2="-Wpointer-sign -Wsign-compare -Wunused-result -Wformat-truncation" if echo "$cc" | grep -q "clang"; then OPT1="$OPT1 -fheinous-gnu-extensions" OPT2="$OPT2 -Wstring-plus-int"