mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-06 11:13:02 +02:00
Merge bitcoin/bitcoin#32482: build: add -W*-whitespace
40dcbf580dbuild: add -Wtrailing-whitespace=any (fanquake)d7659cd7e6build: add -Wleading-whitespace=spaces (fanquake)d86650220acmake: Disable `-Wtrailing-whitespace` warnings for RCC-generated files (Hennadii Stepanov)aabc5ca6edcmake: Switch from AUTORCC to `qt6_add_resources` (Hennadii Stepanov)25ae14c339subprocess: replace tab with space (fanquake)0c2b9dadd5scripted-diff: remove whitespace in sha256_sse4.cpp (fanquake)4da084fbc9scripted-diff: change whitespace to spaces in univalue (fanquake)e6caf150b3ci: add moreutils to lint job (fanquake) Pull request description: GCC 15 now has options to turn leading & trailing whitespace into compile failures: https://gcc.gnu.org/gcc-15/changes.html#c-family. Fix the few cases of leading tabs, and trailing whitespace, and then enable `-Wleading-whitespace` and `-Wtrailing-whitespace`. We currently get PRs that are opened with various whitespace, i.e #33822, so turning that into compile-time failure where possible, seems useful, to avoid a CI roundtrip. ACKs for top commit: ajtowns: utACK40dcbf580dhebasto: re-ACK40dcbf580d. Tree-SHA512: a128001ab2abb41cd6d249dcf46be4167ebd608d6b0f1452212a3ec9a383747bea623ab0382ec7bc0ac7a232a47cca5174e1cd73d4eda6751aa3cb2365ad2ede
This commit is contained in:
@@ -18,7 +18,8 @@ ${CI_RETRY_EXE} apt-get update
|
||||
# - curl/xz-utils (to install shellcheck)
|
||||
# - git (used in many lint scripts)
|
||||
# - gpg (used by verify-commits)
|
||||
${CI_RETRY_EXE} apt-get install -y cargo curl xz-utils git gpg
|
||||
# - moreutils (used by scripted-diff)
|
||||
${CI_RETRY_EXE} apt-get install -y cargo curl xz-utils git gpg moreutils
|
||||
|
||||
PYTHON_PATH="/python_build"
|
||||
if [ ! -d "${PYTHON_PATH}/bin" ]; then
|
||||
|
||||
Reference in New Issue
Block a user