From: Ken Raeburn Date: Mon, 5 Sep 2011 01:58:53 +0000 (+0000) Subject: Enable -Werror=uninitialized if supported X-Git-Tag: krb5-1.10-alpha1~226 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d4df2732e91514cd33ab850f945b57d352a7cc81;p=krb5.git Enable -Werror=uninitialized if supported git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25149 dc483132-0cff-0310-8789-dd5450dbe970 --- 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