aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xci/test/06_script_b.sh2
-rw-r--r--configure.ac6
-rw-r--r--doc/developer-notes.md6
3 files changed, 6 insertions, 8 deletions
diff --git a/ci/test/06_script_b.sh b/ci/test/06_script_b.sh
index 4c8b07c6a5..1e086a9f13 100755
--- a/ci/test/06_script_b.sh
+++ b/ci/test/06_script_b.sh
@@ -67,7 +67,7 @@ if [ "$DOWNLOAD_PREVIOUS_RELEASES" = "true" ]; then
test/get_previous_releases.py -b -t "$PREVIOUS_RELEASES_DIR"
fi
-BITCOIN_CONFIG_ALL="--enable-suppress-external-warnings --disable-dependency-tracking"
+BITCOIN_CONFIG_ALL="--disable-dependency-tracking"
if [ -z "$NO_DEPENDS" ]; then
BITCOIN_CONFIG_ALL="${BITCOIN_CONFIG_ALL} CONFIG_SITE=$DEPENDS_DIR/$HOST/share/config.site"
fi
diff --git a/configure.ac b/configure.ac
index 8015813ec7..f9fac057d0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -244,10 +244,10 @@ dnl May be useful if warnings from external headers clutter the build output
dnl too much, so that it becomes difficult to spot Bitcoin Core warnings
dnl or if they cause a build failure with --enable-werror.
AC_ARG_ENABLE([suppress-external-warnings],
- [AS_HELP_STRING([--enable-suppress-external-warnings],
- [Suppress warnings from external headers (default is no)])],
+ [AS_HELP_STRING([--disable-suppress-external-warnings],
+ [Do not suppress warnings from external headers (default is to suppress)])],
[suppress_external_warnings=$enableval],
- [suppress_external_warnings=no])
+ [suppress_external_warnings=yes])
AC_ARG_ENABLE([lcov],
[AS_HELP_STRING([--enable-lcov],
diff --git a/doc/developer-notes.md b/doc/developer-notes.md
index 08dde2aa61..fca72914a3 100644
--- a/doc/developer-notes.md
+++ b/doc/developer-notes.md
@@ -217,13 +217,11 @@ apt install clang-tidy bear clang
Then, pass clang as compiler to configure, and use bear to produce the `compile_commands.json`:
```sh
-./autogen.sh && ./configure CC=clang CXX=clang++ --enable-suppress-external-warnings
+./autogen.sh && ./configure CC=clang CXX=clang++
make clean && bear --config src/.bear-tidy-config -- make -j $(nproc)
```
-The output is denoised of errors from external dependencies and includes with
-`--enable-suppress-external-warnings` and `--config src/.bear-tidy-config`. Both
-options may be omitted to view the full list of errors.
+The output is denoised of errors from external dependencies.
To run clang-tidy on all source files: