Removing the Config member from ATMPArgs caused all these arguments to become unused, as a chain effect.
Depends on D12200
Differential D12214
remove unused Config argument from functions PiRK on Oct 12 2022, 10:35. Authored by Tags None Subscribers None
Details
Diff Detail
Event TimelineComment Actions Build Bitcoin ABC Diffs / Diff Testing (build-clang) failed.
Tail of the build log: [351/523] Linking C executable src/secp256k1/recover-bench [352/523] Linking C executable src/secp256k1/verify-bench [353/523] Installing component secp256k1 -- Install configuration: "RelWithDebInfo" -- Install component: "secp256k1" -- Installing: /results/artifacts/lib/libsecp256k1.a -- Installing: /results/artifacts/include/secp256k1.h -- Installing: /results/artifacts/include/secp256k1_preallocated.h -- Installing: /results/artifacts/include/secp256k1_recovery.h -- Installing: /results/artifacts/include/secp256k1_schnorr.h [354/523] Linking C executable src/secp256k1/sign-bench [355/523] Building C object src/secp256k1/CMakeFiles/ecmult-bench.dir/src/bench_ecmult.c.o [356/523] Linking C executable src/secp256k1/ecmult-bench [357/523] Building C object src/secp256k1/CMakeFiles/internal-bench.dir/src/bench_internal.c.o [358/523] Linking C executable src/secp256k1/internal-bench [359/523] Building CXX object src/test/CMakeFiles/testutil.dir/util/str.cpp.o [360/523] Building CXX object src/CMakeFiles/bitcoin-cli.dir/bitcoin-cli.cpp.o [361/523] Linking CXX executable src/bitcoin-cli [362/523] Building CXX object src/CMakeFiles/server.dir/torcontrol.cpp.o [363/523] Building CXX object src/test/CMakeFiles/testutil.dir/util/blockfilter.cpp.o [364/523] Building CXX object src/CMakeFiles/server.dir/txmempool.cpp.o [365/523] Building CXX object src/CMakeFiles/server.dir/wallet/init.cpp.o [366/523] Building CXX object src/CMakeFiles/server.dir/rpc/rawtransaction.cpp.o [367/523] Building CXX object src/wallet/CMakeFiles/wallet.dir/context.cpp.o [368/523] Building CXX object src/test/CMakeFiles/testutil.dir/util/mining.cpp.o [369/523] Building CXX object src/test/CMakeFiles/testutil.dir/util/transaction_utils.cpp.o [370/523] Building CXX object src/CMakeFiles/server.dir/rpc/blockchain.cpp.o [371/523] Building CXX object src/test/CMakeFiles/testutil.dir/util/net.cpp.o [372/523] Building CXX object src/wallet/CMakeFiles/wallet.dir/db.cpp.o [373/523] Building CXX object src/wallet/CMakeFiles/wallet.dir/coincontrol.cpp.o [374/523] Building CXX object src/CMakeFiles/bitcoin-tx.dir/bitcoin-tx.cpp.o [375/523] Building CXX object src/CMakeFiles/server.dir/net_processing.cpp.o [376/523] Linking CXX executable src/bitcoin-tx [377/523] Building CXX object src/test/CMakeFiles/testutil.dir/util/wallet.cpp.o [378/523] Building CXX object src/wallet/CMakeFiles/wallet.dir/crypter.cpp.o [379/523] Building CXX object src/wallet/CMakeFiles/wallet.dir/coinselection.cpp.o [380/523] Building CXX object src/wallet/CMakeFiles/wallet.dir/bdb.cpp.o [381/523] Building CXX object src/test/CMakeFiles/testutil.dir/util/setup_common.cpp.o [382/523] Building CXX object src/wallet/CMakeFiles/wallet.dir/sqlite.cpp.o [383/523] Building CXX object src/wallet/CMakeFiles/wallet.dir/fees.cpp.o [384/523] Building CXX object src/wallet/CMakeFiles/wallet-tool.dir/wallettool.cpp.o [385/523] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/dns.cpp.o [386/523] Building CXX object src/wallet/CMakeFiles/wallet.dir/walletutil.cpp.o [387/523] Building CXX object src/wallet/CMakeFiles/wallet.dir/load.cpp.o [388/523] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/options.cpp.o [389/523] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/db.cpp.o [390/523] Building CXX object src/wallet/CMakeFiles/wallet.dir/salvage.cpp.o [391/523] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/bitcoin.cpp.o [392/523] Building CXX object src/wallet/CMakeFiles/wallet.dir/__/interfaces/wallet.cpp.o [393/523] Building CXX object src/seeder/CMakeFiles/bitcoin-seeder.dir/main.cpp.o [394/523] Building CXX object src/wallet/CMakeFiles/wallet.dir/scriptpubkeyman.cpp.o [395/523] Building CXX object src/wallet/CMakeFiles/wallet.dir/walletdb.cpp.o [396/523] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpcdump.cpp.o [397/523] Building CXX object src/wallet/CMakeFiles/wallet.dir/wallet.cpp.o [398/523] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpcwallet.cpp.o [399/523] Linking CXX static library src/wallet/libwallet.a [400/523] Linking CXX static library src/wallet/libwallet-tool.a [401/523] Linking CXX executable src/bitcoin-wallet ninja: build stopped: cannot make progress due to previous errors. Build build-clang failed with exit code 1 Comment Actions Build Bitcoin ABC Diffs / Diff Testing (build-clang) failed.
Tail of the build log: [377/524] Building CXX object src/wallet/CMakeFiles/wallet.dir/sqlite.cpp.o [378/524] Building CXX object src/test/CMakeFiles/testutil.dir/util/net.cpp.o FAILED: src/test/CMakeFiles/testutil.dir/util/net.cpp.o /usr/bin/ccache /usr/bin/clang++ -DBOOST_AC_USE_STD_ATOMIC -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SP_USE_STD_ATOMIC -DBOOST_THREAD_DYN_LINK -DBUILD_BITCOIN_INTERNAL -DENABLE_AVX2 -DENABLE_SHANI -DENABLE_SSE41 -DHAVE_BUILD_INFO -DHAVE_CONFIG_H -DHAVE_CONSENSUS_LIB -DLEVELDB_ATOMIC_PRESENT -DLEVELDB_PLATFORM_POSIX -DOS_LINUX -I../../src/. -Isrc -I../../src/univalue/include -Isrc/crypto/.. -I../../src/secp256k1/include -I../../src/leveldb/include -isystem /usr/include/jemalloc -isystem /usr/include/miniupnpc -Werror -g -O2 -fPIC -fvisibility=hidden -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wformat -Wgnu -Wvla -Wcast-align -Wunused-parameter -Wmissing-braces -Wthread-safety -Wrange-loop-analysis -Wredundant-decls -Wunreachable-code-loop-increment -Wsign-compare -Wconditional-uninitialized -Wdocumentation -Wformat-security -Wredundant-move -Woverloaded-virtual -Wshadow -Wshadow-field -Wno-unused-parameter -Wno-implicit-fallthrough -pthread -std=gnu++17 -MD -MT src/test/CMakeFiles/testutil.dir/util/net.cpp.o -MF src/test/CMakeFiles/testutil.dir/util/net.cpp.o.d -o src/test/CMakeFiles/testutil.dir/util/net.cpp.o -c ../../src/test/util/net.cpp In file included from ../../src/test/util/net.cpp:5: In file included from ../../src/./test/util/net.h:9: In file included from ../../src/./net.h:13: In file included from ../../src/./avalanche/proofradixtreeadapter.h:8: In file included from ../../src/./avalanche/proof.h:16: ../../src/./validation.h:336:16: error: parameter 'config' not found in the function declaration [-Werror,-Wdocumentation] * @param[in] config The global configuration. ^~~~~~ 1 error generated. [379/524] Building CXX object src/test/CMakeFiles/testutil.dir/util/setup_common.cpp.o FAILED: src/test/CMakeFiles/testutil.dir/util/setup_common.cpp.o /usr/bin/ccache /usr/bin/clang++ -DBOOST_AC_USE_STD_ATOMIC -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SP_USE_STD_ATOMIC -DBOOST_THREAD_DYN_LINK -DBUILD_BITCOIN_INTERNAL -DENABLE_AVX2 -DENABLE_SHANI -DENABLE_SSE41 -DHAVE_BUILD_INFO -DHAVE_CONFIG_H -DHAVE_CONSENSUS_LIB -DLEVELDB_ATOMIC_PRESENT -DLEVELDB_PLATFORM_POSIX -DOS_LINUX -I../../src/. -Isrc -I../../src/univalue/include -Isrc/crypto/.. -I../../src/secp256k1/include -I../../src/leveldb/include -isystem /usr/include/jemalloc -isystem /usr/include/miniupnpc -Werror -g -O2 -fPIC -fvisibility=hidden -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wformat -Wgnu -Wvla -Wcast-align -Wunused-parameter -Wmissing-braces -Wthread-safety -Wrange-loop-analysis -Wredundant-decls -Wunreachable-code-loop-increment -Wsign-compare -Wconditional-uninitialized -Wdocumentation -Wformat-security -Wredundant-move -Woverloaded-virtual -Wshadow -Wshadow-field -Wno-unused-parameter -Wno-implicit-fallthrough -pthread -std=gnu++17 -MD -MT src/test/CMakeFiles/testutil.dir/util/setup_common.cpp.o -MF src/test/CMakeFiles/testutil.dir/util/setup_common.cpp.o.d -o src/test/CMakeFiles/testutil.dir/util/setup_common.cpp.o -c ../../src/test/util/setup_common.cpp In file included from ../../src/test/util/setup_common.cpp:17: In file included from ../../src/./net.h:13: In file included from ../../src/./avalanche/proofradixtreeadapter.h:8: In file included from ../../src/./avalanche/proof.h:16: ../../src/./validation.h:336:16: error: parameter 'config' not found in the function declaration [-Werror,-Wdocumentation] * @param[in] config The global configuration. ^~~~~~ 1 error generated. [380/524] Building CXX object src/wallet/CMakeFiles/wallet.dir/walletutil.cpp.o [381/524] Building CXX object src/test/CMakeFiles/testutil.dir/util/wallet.cpp.o [382/524] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/db.cpp.o [383/524] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/dns.cpp.o [384/524] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/options.cpp.o [385/524] Building CXX object src/seeder/CMakeFiles/bitcoin-seeder.dir/main.cpp.o [386/524] Building CXX object src/CMakeFiles/server.dir/rpc/server.cpp.o [387/524] Building CXX object src/wallet/CMakeFiles/wallet.dir/fees.cpp.o [388/524] Building CXX object src/CMakeFiles/bitcoin-tx.dir/bitcoin-tx.cpp.o [389/524] Linking CXX executable src/bitcoin-tx [390/524] Building CXX object src/wallet/CMakeFiles/wallet-tool.dir/wallettool.cpp.o [391/524] Building CXX object src/wallet/CMakeFiles/wallet.dir/load.cpp.o [392/524] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/bitcoin.cpp.o FAILED: src/seeder/CMakeFiles/seeder-base.dir/bitcoin.cpp.o /usr/bin/ccache /usr/bin/clang++ -DBOOST_AC_USE_STD_ATOMIC -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SP_USE_STD_ATOMIC -DBOOST_THREAD_DYN_LINK -DBUILD_BITCOIN_INTERNAL -DENABLE_AVX2 -DENABLE_SHANI -DENABLE_SSE41 -DHAVE_BUILD_INFO -DHAVE_CONFIG_H -DHAVE_CONSENSUS_LIB -DLEVELDB_ATOMIC_PRESENT -DLEVELDB_PLATFORM_POSIX -DOS_LINUX -I../../src/. -Isrc -I../../src/univalue/include -Isrc/crypto/.. -I../../src/secp256k1/include -I../../src/leveldb/include -isystem /usr/include/jemalloc -isystem /usr/include/miniupnpc -Werror -g -O2 -fPIC -fvisibility=hidden -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wformat -Wgnu -Wvla -Wcast-align -Wunused-parameter -Wmissing-braces -Wthread-safety -Wrange-loop-analysis -Wredundant-decls -Wunreachable-code-loop-increment -Wsign-compare -Wconditional-uninitialized -Wdocumentation -Wformat-security -Wredundant-move -Woverloaded-virtual -Wshadow -Wshadow-field -Wno-unused-parameter -Wno-implicit-fallthrough -pthread -std=gnu++17 -MD -MT src/seeder/CMakeFiles/seeder-base.dir/bitcoin.cpp.o -MF src/seeder/CMakeFiles/seeder-base.dir/bitcoin.cpp.o.d -o src/seeder/CMakeFiles/seeder-base.dir/bitcoin.cpp.o -c ../../src/seeder/bitcoin.cpp In file included from ../../src/seeder/bitcoin.cpp:13: In file included from ../../src/./seeder/messagewriter.h:9: In file included from ../../src/./net.h:13: In file included from ../../src/./avalanche/proofradixtreeadapter.h:8: In file included from ../../src/./avalanche/proof.h:16: ../../src/./validation.h:336:16: error: parameter 'config' not found in the function declaration [-Werror,-Wdocumentation] * @param[in] config The global configuration. ^~~~~~ 1 error generated. [393/524] Building CXX object src/wallet/CMakeFiles/wallet.dir/salvage.cpp.o [394/524] Building CXX object src/wallet/CMakeFiles/wallet.dir/__/interfaces/wallet.cpp.o [395/524] Building CXX object src/wallet/CMakeFiles/wallet.dir/scriptpubkeyman.cpp.o [396/524] Building CXX object src/wallet/CMakeFiles/wallet.dir/walletdb.cpp.o [397/524] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpcdump.cpp.o [398/524] Building CXX object src/wallet/CMakeFiles/wallet.dir/wallet.cpp.o [399/524] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpcwallet.cpp.o [400/524] Linking CXX static library src/wallet/libwallet.a [401/524] Linking CXX static library src/wallet/libwallet-tool.a [402/524] Linking CXX executable src/bitcoin-wallet ninja: build stopped: cannot make progress due to previous errors. Build build-clang failed with exit code 1 |