File tree 3 files changed +6
-8
lines changed
3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ if [ "$DOWNLOAD_PREVIOUS_RELEASES" = "true" ]; then
67
67
test/get_previous_releases.py -b -t " $PREVIOUS_RELEASES_DIR "
68
68
fi
69
69
70
- BITCOIN_CONFIG_ALL=" --enable-suppress-external-warnings -- disable-dependency-tracking"
70
+ BITCOIN_CONFIG_ALL=" --disable-dependency-tracking"
71
71
if [ -z " $NO_DEPENDS " ]; then
72
72
BITCOIN_CONFIG_ALL=" ${BITCOIN_CONFIG_ALL} CONFIG_SITE=$DEPENDS_DIR /$HOST /share/config.site"
73
73
fi
Original file line number Diff line number Diff line change @@ -244,10 +244,10 @@ dnl May be useful if warnings from external headers clutter the build output
244
244
dnl too much, so that it becomes difficult to spot Bitcoin Core warnings
245
245
dnl or if they cause a build failure with --enable-werror.
246
246
AC_ARG_ENABLE ( [ suppress-external-warnings] ,
247
- [ AS_HELP_STRING ( [ --enable -suppress-external-warnings] ,
248
- [ Suppress warnings from external headers (default is no )] ) ] ,
247
+ [ AS_HELP_STRING ( [ --disable -suppress-external-warnings] ,
248
+ [ Do not suppress warnings from external headers (default is to suppress )] ) ] ,
249
249
[ suppress_external_warnings=$enableval] ,
250
- [ suppress_external_warnings=no ] )
250
+ [ suppress_external_warnings=yes ] )
251
251
252
252
AC_ARG_ENABLE ( [ lcov] ,
253
253
[ AS_HELP_STRING ( [ --enable-lcov] ,
Original file line number Diff line number Diff line change @@ -217,13 +217,11 @@ apt install clang-tidy bear clang
217
217
Then, pass clang as compiler to configure, and use bear to produce the ` compile_commands.json ` :
218
218
219
219
``` sh
220
- ./autogen.sh && ./configure CC=clang CXX=clang++ --enable-suppress-external-warnings
220
+ ./autogen.sh && ./configure CC=clang CXX=clang++
221
221
make clean && bear --config src/.bear-tidy-config -- make -j $( nproc)
222
222
```
223
223
224
- The output is denoised of errors from external dependencies and includes with
225
- ` --enable-suppress-external-warnings ` and ` --config src/.bear-tidy-config ` . Both
226
- options may be omitted to view the full list of errors.
224
+ The output is denoised of errors from external dependencies.
227
225
228
226
To run clang-tidy on all source files:
229
227
You can’t perform that action at this time.
0 commit comments