Enable -Werror=uninitialized if supported
authorKen Raeburn <raeburn@mit.edu>
Mon, 5 Sep 2011 01:58:53 +0000 (01:58 +0000)
committerKen Raeburn <raeburn@mit.edu>
Mon, 5 Sep 2011 01:58:53 +0000 (01:58 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25149 dc483132-0cff-0310-8789-dd5450dbe970

src/aclocal.m4

index a56e7ec5e843ba0f8f739b8ccb73fee01be6505d..e1eef0ba8388201d922b4e8b36d96d946ca4d439 100644 (file)
@@ -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