From d4df2732e91514cd33ab850f945b57d352a7cc81 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Mon, 5 Sep 2011 01:58:53 +0000 Subject: [PATCH] Enable -Werror=uninitialized if supported git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25149 dc483132-0cff-0310-8789-dd5450dbe970 --- src/aclocal.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aclocal.m4 b/src/aclocal.m4 index a56e7ec5e..e1eef0ba8 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -543,7 +543,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 ; 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 ; do TRY_WARN_CC_FLAG(-W$flag) done # old-style-definition? generates many, many warnings -- 2.26.2