From: Robbie Harwood Date: Thu, 10 Nov 2016 18:20:49 +0000 (-0500) Subject: Build with -Werror-implicit-int where supported X-Git-Tag: krb5-1.16-beta1~200 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F567%2Fhead;p=thirdparty%2Fkrb5.git Build with -Werror-implicit-int where supported --- diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 9c46da4b59..510d9ba519 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -528,7 +528,7 @@ if test "$GCC" = yes ; then TRY_WARN_CC_FLAG(-Wno-format-zero-length) # Other flags here may not be supported on some versions of # gcc that people want to use. - 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 + 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 TRY_WARN_CC_FLAG(-W$flag) done # old-style-definition? generates many, many warnings