From d49c854e52a897e1fa7121b10a4a0eb39cb81bfc Mon Sep 17 00:00:00 2001 From: Alexey Kopytov Date: Fri, 2 Dec 2016 18:34:20 +0300 Subject: [PATCH] Suppress "zero-length gnu_printf format string" warnings from GCC. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 6ae7ec7..37404c5 100644 --- a/configure.ac +++ b/configure.ac @@ -396,7 +396,7 @@ then W_FAIL="-Werror" fi BASE_WARNINGS="-W -Wall -Wextra -Wpointer-arith -Wbad-function-cast \ - -Wstrict-prototypes -Wnested-externs -Winline \ + -Wstrict-prototypes -Wnested-externs -Winline -Wno-format-zero-length \ -funroll-loops ${W_FAIL}" if test "$ac_profiling" = "yes"