diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-11-09 21:27:49 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-11-09 21:28:11 +0100 |
| commit | f445d886126c00814c71b855fc2f36fdd7e11098 (patch) | |
| tree | e3b9452896dd9b972e467219e77d8ff82e124db6 | |
| parent | Merge #8794: Enable -Wshadow by default (diff) | |
| download | discoin-f445d886126c00814c71b855fc2f36fdd7e11098.tar.xz discoin-f445d886126c00814c71b855fc2f36fdd7e11098.zip | |
Revert "Check and enable -Wshadow by default."
This reverts commit fd5654cab1e5d317119f747abd245c620e8ba29b.
This is still causing too many warnings for some compiler combinations,
forget it for now.
| -rw-r--r-- | configure.ac | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 29e3115e7..705327e81 100644 --- a/configure.ac +++ b/configure.ac @@ -203,7 +203,6 @@ if test "x$CXXFLAGS_overridden" = "xno"; then AX_CHECK_COMPILE_FLAG([-Wextra],[CXXFLAGS="$CXXFLAGS -Wextra"],,[[$CXXFLAG_WERROR]]) AX_CHECK_COMPILE_FLAG([-Wformat],[CXXFLAGS="$CXXFLAGS -Wformat"],,[[$CXXFLAG_WERROR]]) AX_CHECK_COMPILE_FLAG([-Wformat-security],[CXXFLAGS="$CXXFLAGS -Wformat-security"],,[[$CXXFLAG_WERROR]]) - AX_CHECK_COMPILE_FLAG([-Wshadow],[CXXFLAGS="$CXXFLAGS -Wshadow"],,[[$CXXFLAG_WERROR]]) ## Some compilers (gcc) ignore unknown -Wno-* options, but warn about all ## unknown options if any other warning is produced. Test the -Wfoo case, and |