diff options
author | fanquake <fanquake@gmail.com> | 2023-07-17 13:48:31 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2024-02-27 09:53:42 +0000 |
commit | b052b2d1f2b220582a933eb5fa6a28144bed07d8 (patch) | |
tree | 894698bd437089818e8bfb59e4b12f23c900c087 | |
parent | 5c6d900a27076aee95b046c1a7352e832215e88d (diff) | |
download | bitcoin-b052b2d1f2b220582a933eb5fa6a28144bed07d8.tar.xz |
build: remove -Wdocumentation conditional
Now that --enable-suppress-external-warnings is on by default, we can
drop it.
-rw-r--r-- | configure.ac | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 50e6870dd9..4a7c02c1e1 100644 --- a/configure.ac +++ b/configure.ac @@ -432,10 +432,7 @@ if test "$CXXFLAGS_overridden" = "no"; then AX_CHECK_COMPILE_FLAG([-Wsuggest-override], [WARN_CXXFLAGS="$WARN_CXXFLAGS -Wsuggest-override"], [], [$CXXFLAG_WERROR]) AX_CHECK_COMPILE_FLAG([-Wimplicit-fallthrough], [WARN_CXXFLAGS="$WARN_CXXFLAGS -Wimplicit-fallthrough"], [], [$CXXFLAG_WERROR]) AX_CHECK_COMPILE_FLAG([-Wunreachable-code], [WARN_CXXFLAGS="$WARN_CXXFLAGS -Wunreachable-code"], [], [$CXXFLAG_WERROR]) - - if test "$suppress_external_warnings" != "no" ; then - AX_CHECK_COMPILE_FLAG([-Wdocumentation], [WARN_CXXFLAGS="$WARN_CXXFLAGS -Wdocumentation"], [], [$CXXFLAG_WERROR]) - fi + AX_CHECK_COMPILE_FLAG([-Wdocumentation], [WARN_CXXFLAGS="$WARN_CXXFLAGS -Wdocumentation"], [], [$CXXFLAG_WERROR]) dnl Some compilers (gcc) ignore unknown -Wno-* options, but warn about all dnl unknown options if any other warning is produced. Test the -Wfoo case, and |