diff options
author | Greg Hudson <ghudson@mit.edu> | 2017-06-14 20:45:15 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2017-06-15 11:38:44 -0400 |
commit | 473536392a00e76642e8770b8163a501d10c6961 (patch) | |
tree | cc22b32895d5b40bf1a417853c22d49fa55e2a66 /src/aclocal.m4 | |
parent | 1a3f7ce0708a0695fd93c2445cf1fd0401ce00d4 (diff) | |
download | krb5-473536392a00e76642e8770b8163a501d10c6961.zip krb5-473536392a00e76642e8770b8163a501d10c6961.tar.gz krb5-473536392a00e76642e8770b8163a501d10c6961.tar.bz2 |
Turn off -Wmaybe-uninitialized
In gcc, maybe-uninitialized gives different warnings depending on the
optimization level, and in our experience usually gives false
positives. We don't ask for it (except implicitly through -Wall), but
gcc bundles it into the error behavior of -Werror=uninitialized.
Explicitly turn it off so that builds with -Og and -Os don't error
out.
Diffstat (limited to 'src/aclocal.m4')
-rw-r--r-- | src/aclocal.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 2c92c80..fb572e8 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 error=uninitialized error=pointer-arith error=int-conversion error=incompatible-pointer-types error=discarded-qualifiers error=implicit-int ; 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 no-maybe-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 |