442bc9d
From a4486f53b0477fd4c9e79e03450a7805110eb842 Mon Sep 17 00:00:00 2001
442bc9d
From: Robbie Harwood <rharwood@redhat.com>
442bc9d
Date: Thu, 10 Nov 2016 13:20:49 -0500
442bc9d
Subject: [PATCH] Build with -Werror-implicit-int where supported
442bc9d
442bc9d
(cherry picked from commit 873d864230c9c64c65ff12a24199bac3adf3bc2f)
442bc9d
---
442bc9d
 src/aclocal.m4 | 2 +-
442bc9d
 1 file changed, 1 insertion(+), 1 deletion(-)
442bc9d
442bc9d
diff --git a/src/aclocal.m4 b/src/aclocal.m4
442bc9d
index 9076016..9a2f873 100644
442bc9d
--- a/src/aclocal.m4
442bc9d
+++ b/src/aclocal.m4
442bc9d
@@ -527,7 +527,7 @@ if test "$GCC" = yes ; then
442bc9d
     TRY_WARN_CC_FLAG(-Wno-format-zero-length)
442bc9d
     # Other flags here may not be supported on some versions of
442bc9d
     # gcc that people want to use.
442bc9d
-    for flag in overflow strict-overflow missing-format-attribute missing-prototypes return-type missing-braces parentheses switch unused-function unused-label unused-variable unused-value unknown-pragmas sign-compare newline-eof error=uninitialized error=pointer-arith error=int-conversion error=incompatible-pointer-types error=discarded-qualifiers ; do
442bc9d
+    for flag in overflow strict-overflow missing-format-attribute missing-prototypes return-type missing-braces parentheses switch unused-function unused-label unused-variable unused-value unknown-pragmas sign-compare newline-eof error=uninitialized error=pointer-arith error=int-conversion error=incompatible-pointer-types error=discarded-qualifiers error=implicit-int ; do
442bc9d
       TRY_WARN_CC_FLAG(-W$flag)
442bc9d
     done
442bc9d
     #  old-style-definition? generates many, many warnings