Skip to content

Instantly share code, notes, and snippets.

@Empact
Created July 9, 2018 21:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Empact/889c787e1d9d45656d6cdfa2de6a917d to your computer and use it in GitHub Desktop.
Save Empact/889c787e1d9d45656d6cdfa2de6a917d to your computer and use it in GitHub Desktop.
bitcoin iwyu output
This file has been truncated, but you can view the full file.
# created with https://github.com/Empact/include-what-you-use/tree/llvm-mac-os, 55bcf5e151aef4c1d73a116ef84e6920c6bae60e
# from https://github.com/Empact/bitcoin/tree/cstring, a505ca9d8b06de6d97628d76badb812dea0f4cdc
$ make -k CXX="~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300"
Making all in src
CXX crypto/libbitcoinconsensus_la-aes.lo
CXX crypto/libbitcoinconsensus_la-chacha20.lo
CXX crypto/libbitcoinconsensus_la-hmac_sha256.lo
CXX crypto/libbitcoinconsensus_la-hmac_sha512.lo
CXX crypto/libbitcoinconsensus_la-ripemd160.lo
CXX crypto/libbitcoinconsensus_la-sha1.lo
CXX crypto/libbitcoinconsensus_la-sha256.lo
crypto/hmac_sha512.h should remove these lines:
- #include <stdint.h> // lines 10-10
The full include-list for crypto/hmac_sha512.h:
#include <crypto/sha512.h> // for CSHA512
#include <stdlib.h> // for size_t
---
crypto/hmac_sha512.cpp should add these lines:
#include "crypto/sha512.h" // for CSHA512
The full include-list for crypto/hmac_sha512.cpp:
#include <crypto/hmac_sha512.h>
#include <cstring> // for memset, memcpy
#include "crypto/sha512.h" // for CSHA512
---
make[2]: *** [crypto/libbitcoinconsensus_la-hmac_sha512.lo] Error 1
CXX crypto/libbitcoinconsensus_la-sha512.lo
(crypto/chacha20.h has correct #includes/fwd-decls)
(crypto/chacha20.cpp has correct #includes/fwd-decls)
make[2]: *** [crypto/libbitcoinconsensus_la-chacha20.lo] Error 1
CXX crypto/libbitcoinconsensus_la-sha256_sse4.lo
(crypto/ripemd160.h has correct #includes/fwd-decls)
(crypto/aes.h has correct #includes/fwd-decls)
(crypto/sha1.h has correct #includes/fwd-decls)
crypto/aes.cpp should add these lines:
#include "crypto/ctaes/ctaes.h" // for AES128_ctx, AES256_ctx
crypto/aes.cpp should remove these lines:
- #include <assert.h> // lines 8-8
- #include <crypto/common.h> // lines 6-6
The full include-list for crypto/aes.cpp:
#include <crypto/aes.h>
#include <crypto/ctaes/ctaes.c> // for AES128_init, AES256_init, AES128_decrypt, AES128_encrypt, AES256_decrypt, AES256_encrypt
#include <cstring> // for memset, memcpy
#include "crypto/ctaes/ctaes.h" // for AES128_ctx, AES256_ctx
---
make[2]: *** [crypto/libbitcoinconsensus_la-aes.lo] Error 1
(crypto/ripemd160.cpp has correct #includes/fwd-decls)
CXX libbitcoinconsensus_la-arith_uint256.lo
(crypto/sha1.cpp has correct #includes/fwd-decls)
make[2]: *** [crypto/libbitcoinconsensus_la-sha1.lo] Error 1
make[2]: *** [crypto/libbitcoinconsensus_la-ripemd160.lo] Error 1
CXX consensus/libbitcoinconsensus_la-merkle.lo
CXX libbitcoinconsensus_la-hash.lo
(crypto/sha256_sse4.cpp has correct #includes/fwd-decls)
make[2]: *** [crypto/libbitcoinconsensus_la-sha256_sse4.lo] Error 1
CXX primitives/libbitcoinconsensus_la-block.lo
(crypto/sha512.h has correct #includes/fwd-decls)
(crypto/sha512.cpp has correct #includes/fwd-decls)
make[2]: *** [crypto/libbitcoinconsensus_la-sha512.lo] Error 1
CXX primitives/libbitcoinconsensus_la-transaction.lo
crypto/hmac_sha256.h should remove these lines:
- #include <stdint.h> // lines 10-10
The full include-list for crypto/hmac_sha256.h:
#include <crypto/sha256.h> // for CSHA256
#include <stdlib.h> // for size_t
---
crypto/hmac_sha256.cpp should add these lines:
#include "crypto/sha256.h" // for CSHA256
The full include-list for crypto/hmac_sha256.cpp:
#include <crypto/hmac_sha256.h>
#include <cstring> // for memset, memcpy
#include "crypto/sha256.h" // for CSHA256
---
make[2]: *** [crypto/libbitcoinconsensus_la-hmac_sha256.lo] Error 1
CXX libbitcoinconsensus_la-pubkey.lo
(crypto/sha256.h has correct #includes/fwd-decls)
crypto/sha256.cpp should add these lines:
#include <algorithm> // for equal, copy
#include <cstdint> // for uint32_t
#include "config/bitcoin-config.h" // for USE_ASM, ENABLE_AVX2, ENABLE_SHANI, ENABLE_SSE41
crypto/sha256.cpp should remove these lines:
- #include <atomic> // lines 9-9
The full include-list for crypto/sha256.cpp:
#include <crypto/sha256.h>
#include <assert.h> // for assert
#include <cpuid.h> // for __cpuid_count
#include <crypto/common.h> // for ReadBE32, WriteBE32, WriteBE64
#include <algorithm> // for equal, copy
#include <cstdint> // for uint32_t
#include <cstring> // for memcpy
#include "config/bitcoin-config.h" // for USE_ASM, ENABLE_AVX2, ENABLE_SHANI, ENABLE_SSE41
---
make[2]: *** [crypto/libbitcoinconsensus_la-sha256.lo] Error 1
CXX script/libbitcoinconsensus_la-bitcoinconsensus.lo
arith_uint256.h should remove these lines:
- #include <assert.h> // lines 9-9
- #include <vector> // lines 14-14
The full include-list for arith_uint256.h:
#include <stdint.h> // for uint64_t, uint32_t
#include <cstring> // for memcmp
#include <stdexcept> // for runtime_error
#include <string> // for string
class uint256; // lines 16-16
---
arith_uint256.cpp should add these lines:
#include <assert.h> // for assert
arith_uint256.cpp should remove these lines:
- #include <stdio.h> // lines 12-12
- #include <utilstrencodings.h> // lines 9-9
The full include-list for arith_uint256.cpp:
#include <arith_uint256.h>
#include <assert.h> // for assert
#include <crypto/common.h> // for ReadLE32, WriteLE32
#include <uint256.h> // for uint256, uint256S
---
make[2]: *** [libbitcoinconsensus_la-arith_uint256.lo] Error 1
CXX script/libbitcoinconsensus_la-interpreter.lo
hash.h should add these lines:
#include <stddef.h> // for size_t
#include <stdint.h> // for uint64_t, uint32_t
#include <algorithm> // for min
The full include-list for hash.h:
#include <crypto/ripemd160.h> // for CRIPEMD160, CRIPEMD160::OUTPUT_SIZE
#include <crypto/sha256.h> // for CSHA256, CSHA256::OUTPUT_SIZE
#include <prevector.h> // for prevector
#include <serialize.h> // for SER_GETHASH, Serialize, Unserialize
#include <stddef.h> // for size_t
#include <stdint.h> // for uint64_t, uint32_t
#include <uint256.h> // for uint256, uint160
#include <version.h> // for PROTOCOL_VERSION
#include <algorithm> // for min
#include <vector> // for vector
---
hash.cpp should add these lines:
#include <assert.h> // for assert
#include "uint256.h" // for uint256
The full include-list for hash.cpp:
#include <hash.h>
#include <assert.h> // for assert
#include <crypto/common.h> // for ReadLE32
#include <crypto/hmac_sha512.h> // for CHMAC_SHA512
#include "uint256.h" // for uint256
---
make[2]: *** [libbitcoinconsensus_la-hash.lo] Error 1
CXX script/libbitcoinconsensus_la-script.lo
consensus/merkle.h should remove these lines:
- #include <primitives/transaction.h> // lines 11-11
- #include <stdint.h> // lines 8-8
The full include-list for consensus/merkle.h:
#include <primitives/block.h> // for CBlock
#include <uint256.h> // for uint256
#include <vector> // for vector
---
consensus/merkle.cpp should add these lines:
#include <stddef.h> // for size_t
#include <type_traits> // for move
#include "crypto/sha256.h" // for SHA256D64
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CTransaction, CTransactionRef
#include "uint256.h" // for uint256, operator==, base_blob
consensus/merkle.cpp should remove these lines:
- #include <hash.h> // lines 6-6
- #include <utilstrencodings.h> // lines 7-7
The full include-list for consensus/merkle.cpp:
#include <consensus/merkle.h>
#include <stddef.h> // for size_t
#include <type_traits> // for move
#include "crypto/sha256.h" // for SHA256D64
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CTransaction, CTransactionRef
#include "uint256.h" // for uint256, operator==, base_blob
---
make[2]: *** [consensus/libbitcoinconsensus_la-merkle.lo] Error 1
CXX script/libbitcoinconsensus_la-script_error.lo
(script/script_error.h has correct #includes/fwd-decls)
(script/script_error.cpp has correct #includes/fwd-decls)
make[2]: *** [script/libbitcoinconsensus_la-script_error.lo] Error 1
CXX libbitcoinconsensus_la-uint256.lo
primitives/block.h should add these lines:
#include <stdint.h> // for uint32_t, int64_t, int32_t
#include <string> // for string
#include <vector> // for vector
The full include-list for primitives/block.h:
#include <primitives/transaction.h> // for CTransactionRef
#include <serialize.h> // for READWRITE, ADD_SERIALIZE_METHODS, READWRITEAS, SER_GETHASH
#include <stdint.h> // for uint32_t, int64_t, int32_t
#include <uint256.h> // for uint256
#include <string> // for string
#include <vector> // for vector
---
primitives/block.cpp should add these lines:
#include <memory> // for shared_ptr
#include <ostream> // for operator<<, basic_ostream, stringstream, char_traits, string
#include "primitives/transaction.h" // for CTransaction
#include "uint256.h" // for uint256
primitives/block.cpp should remove these lines:
- #include <crypto/common.h> // lines 11-11
- #include <utilstrencodings.h> // lines 10-10
The full include-list for primitives/block.cpp:
#include <primitives/block.h>
#include <hash.h> // for SerializeHash
#include <tinyformat.h> // for strprintf
#include <memory> // for shared_ptr
#include <ostream> // for operator<<, basic_ostream, stringstream, char_traits, string
#include "primitives/transaction.h" // for CTransaction
#include "uint256.h" // for uint256
---
(pubkey.h has correct #includes/fwd-decls)
make[2]: *** [primitives/libbitcoinconsensus_la-block.lo] Error 1
CXX libbitcoinconsensus_la-utilstrencodings.lo
pubkey.cpp should add these lines:
#include <assert.h> // for assert
#include "hash.h" // for BIP32Hash
#include "uint256.h" // for uint256
The full include-list for pubkey.cpp:
#include <pubkey.h>
#include <assert.h> // for assert
#include <secp256k1.h> // for secp256k1_ec_pubkey_parse, secp256k1_ec_pubkey_serialize, secp256k1_ecdsa_signature_parse_compact, secp256k1_ecdsa_signature_normalize, secp256k1_pubkey, secp256k1_context_create, secp256k1_context_destroy, secp256k1_ec_pubkey_tweak_add, secp256k1_ecdsa_si...
#include <secp256k1_recovery.h> // for secp256k1_ecdsa_recover, secp256k1_ecdsa_recoverable_signature_parse_compact, secp256k1_ecdsa_recoverable_signature
#include <cstring> // for memcpy, size_t, memset
#include "hash.h" // for BIP32Hash
#include "uint256.h" // for uint256
---
make[2]: *** [libbitcoinconsensus_la-pubkey.lo] Error 1
gcc -I. -g -O2 -Wall -Wextra -Wno-unused-function -c src/gen_context.c -o gen_context.o
primitives/transaction.h should add these lines:
#include <stddef.h> // for size_t
#include <ios> // for string, ios_base::failure, ios_base
#include <memory> // for make_shared, shared_ptr
#include <type_traits> // for forward
#include <vector> // for vector
#include "prevector.h" // for prevector
The full include-list for primitives/transaction.h:
#include <amount.h> // for CAmount
#include <script/script.h> // for CScript, CScriptWitness
#include <serialize.h> // for READWRITE, ADD_SERIALIZE_METHODS, deserialize_type, deserialize
#include <stddef.h> // for size_t
#include <stdint.h> // for uint32_t, int32_t
#include <uint256.h> // for uint256, operator==, base_blob, operator!=
#include <ios> // for string, ios_base::failure, ios_base
#include <memory> // for make_shared, shared_ptr
#include <type_traits> // for forward
#include <vector> // for vector
#include "prevector.h" // for prevector
struct CMutableTransaction; // lines 177-177
---
primitives/transaction.cpp should add these lines:
#include <stdexcept> // for runtime_error
#include <string> // for operator+, string, allocator
#include "amount.h" // for MoneyRange, CAmount, COIN
#include "script/script.h" // for CScript, CScriptWitness
#include "serialize.h" // for GetSerializeSize, SER_GETHASH, SER_NETWORK
#include "uint256.h" // for uint256
#include "version.h" // for PROTOCOL_VERSION
The full include-list for primitives/transaction.cpp:
#include <primitives/transaction.h>
#include <hash.h> // for SerializeHash
#include <tinyformat.h> // for strprintf
#include <utilstrencodings.h> // for HexStr
#include <stdexcept> // for runtime_error
#include <string> // for operator+, string, allocator
#include "amount.h" // for MoneyRange, CAmount, COIN
#include "script/script.h" // for CScript, CScriptWitness
#include "serialize.h" // for GetSerializeSize, SER_GETHASH, SER_NETWORK
#include "uint256.h" // for uint256
#include "version.h" // for PROTOCOL_VERSION
---
make[2]: *** [primitives/libbitcoinconsensus_la-transaction.lo] Error 1
CXX bitcoind-bitcoind.o
script/bitcoinconsensus.h should remove these lines:
- #include <config/bitcoin-config.h> // lines 12-12
The full include-list for script/bitcoinconsensus.h:
#include <stdint.h> // for int64_t
---
script/bitcoinconsensus.cpp should add these lines:
#include <exception> // for exception
#include <ios> // for ios_base::failure, ios_base
#include <string> // for operator+, string
#include <vector> // for vector
#include "amount.h" // for CAmount
#include "script/script.h" // for CScript
#include "serialize.h" // for GetSerializeSize, SER_NETWORK, Unserialize, deserialize
The full include-list for script/bitcoinconsensus.cpp:
#include <script/bitcoinconsensus.h>
#include <primitives/transaction.h> // for CTransaction, CTxIn
#include <pubkey.h> // for ECCVerifyHandle
#include <script/interpreter.h> // for VerifyScript, TransactionSignatureChecker, PrecomputedTransactionData
#include <version.h> // for PROTOCOL_VERSION
#include <cstring> // for memcpy, size_t
#include <exception> // for exception
#include <ios> // for ios_base::failure, ios_base
#include <string> // for operator+, string
#include <vector> // for vector
#include "amount.h" // for CAmount
#include "script/script.h" // for CScript
#include "serialize.h" // for GetSerializeSize, SER_NETWORK, Unserialize, deserialize
---
make[2]: *** [script/libbitcoinconsensus_la-bitcoinconsensus.lo] Error 1
CXX libbitcoin_server_a-addrdb.o
uint256.h should remove these lines:
- #include <assert.h> // lines 9-9
- #include <stdexcept> // lines 11-11
The full include-list for uint256.h:
#include <crypto/common.h> // for ReadLE64
#include <stdint.h> // for uint64_t, uint8_t
#include <cstring> // for memcpy, memset, memcmp
#include <string> // for string
#include <vector> // for vector
---
uint256.cpp should add these lines:
#include <assert.h> // for assert
#include <ctype.h> // for isspace, tolower
#include <iterator> // for reverse_iterator
uint256.cpp should remove these lines:
- #include <stdio.h> // lines 10-10
The full include-list for uint256.cpp:
#include <uint256.h>
#include <assert.h> // for assert
#include <ctype.h> // for isspace, tolower
#include <utilstrencodings.h> // for HexDigit, HexStr
#include <iterator> // for reverse_iterator
---
make[2]: *** [libbitcoinconsensus_la-uint256.lo] Error 1
CXX libbitcoin_server_a-addrman.o
gcc gen_context.o -o gen_context
./gen_context
CC src/libsecp256k1_la-secp256k1.lo
script/interpreter.h should add these lines:
#include <stddef.h> // for size_t
#include "amount.h" // for CAmount
#include "uint256.h" // for uint256
class CScriptNum;
struct CScriptWitness;
script/interpreter.h should remove these lines:
- #include <stdint.h> // lines 13-13
- #include <string> // lines 14-14
- class CTransaction; // lines 18-18
- class uint256; // lines 19-19
The full include-list for script/interpreter.h:
#include <primitives/transaction.h> // for CTransaction, CMutableTransaction
#include <script/script_error.h> // for ScriptError
#include <stddef.h> // for size_t
#include <vector> // for vector
#include "amount.h" // for CAmount
#include "uint256.h" // for uint256
class CPubKey; // lines 16-16
class CScript; // lines 17-17
class CScriptNum;
struct CScriptWitness;
---
script/interpreter.cpp should add these lines:
#include <assert.h> // for assert
#include <stdint.h> // for int64_t, uint32_t
#include <algorithm> // for equal
#include <stdexcept> // for runtime_error
#include <type_traits> // for move
#include "hash.h" // for CHashWriter, CHash160, CHash256
#include "prevector.h" // for prevector<>::const_iterator, prevector<>::iterator, operator-, prevector
#include "primitives/transaction.h" // for CTxIn, CTxIn::SEQUENCE_LOCKTIME_TYPE_FLAG, CTxIn::SEQUENCE_LOCKTIME_DISABLE_FLAG, CMutableTransaction (ptr only), CTransaction (ptr only), CTxIn::SEQUENCE_FINAL, CTxIn::SEQUENCE_LOCKTIME_MASK, CTxOut
#include "script/script_error.h" // for SCRIPT_ERR_INVALID_STACK_OPERATION, ScriptError, SCRIPT_ERR_EVAL_FALSE, SCRIPT_ERR_UNBALANCED_CONDITIONAL, SCRIPT_ERR_UNKNOWN_ERROR, SCRIPT_ERR_BAD_OPCODE, SCRIPT_ERR_CLEANSTACK, SCRIPT_ERR_MINIMALIF, SCRIPT_ERR_NEGATIVE_LOCKTIME, SCRIPT_ERR_OP_COUNT
#include "serialize.h" // for Serialize, SER_GETHASH, WriteCompactSize
The full include-list for script/interpreter.cpp:
#include <script/interpreter.h>
#include <assert.h> // for assert
#include <crypto/ripemd160.h> // for CRIPEMD160
#include <crypto/sha1.h> // for CSHA1
#include <crypto/sha256.h> // for CSHA256
#include <pubkey.h> // for CPubKey, CPubKey::COMPRESSED_PUBLIC_KEY_SIZE, CPubKey::PUBLIC_KEY_SIZE
#include <script/script.h> // for CScript, CScriptNum, CScriptWitness, opcodetype, LOCKTIME_THRESHOLD, OP_CODESEPARATOR, OP_HASH160, OP_EQUALVERIFY, OP_NUMEQUALVERIFY, OP_RIPEMD160, OP_SHA1, MAX_OPS_PER_SCRIPT, MAX_SCRIPT_ELEMENT_SIZE, OP_0NOTEQUAL, OP_1, OP_16, OP_1ADD, OP_1SUB, OP_ABS
#include <stdint.h> // for int64_t, uint32_t
#include <uint256.h> // for uint256, uint256S
#include <algorithm> // for equal
#include <cstring> // for size_t, memcmp
#include <stdexcept> // for runtime_error
#include <type_traits> // for move
#include "hash.h" // for CHashWriter, CHash160, CHash256
#include "prevector.h" // for prevector<>::const_iterator, prevector<>::iterator, operator-, prevector
#include "primitives/transaction.h" // for CTxIn, CTxIn::SEQUENCE_LOCKTIME_TYPE_FLAG, CTxIn::SEQUENCE_LOCKTIME_DISABLE_FLAG, CMutableTransaction (ptr only), CTransaction (ptr only), CTxIn::SEQUENCE_FINAL, CTxIn::SEQUENCE_LOCKTIME_MASK, CTxOut
#include "script/script_error.h" // for SCRIPT_ERR_INVALID_STACK_OPERATION, ScriptError, SCRIPT_ERR_EVAL_FALSE, SCRIPT_ERR_UNBALANCED_CONDITIONAL, SCRIPT_ERR_UNKNOWN_ERROR, SCRIPT_ERR_BAD_OPCODE, SCRIPT_ERR_CLEANSTACK, SCRIPT_ERR_MINIMALIF, SCRIPT_ERR_NEGATIVE_LOCKTIME, SCRIPT_ERR_OP_COUNT
#include "serialize.h" // for Serialize, SER_GETHASH, WriteCompactSize
---
make[2]: *** [script/libbitcoinconsensus_la-interpreter.lo] Error 1
CXX libbitcoin_server_a-bloom.o
script/script.h should remove these lines:
- #include <climits> // lines 14-14
The full include-list for script/script.h:
#include <assert.h> // for assert
#include <crypto/common.h> // for WriteLE16, WriteLE32
#include <prevector.h> // for prevector<>::const_iterator, prevector<>::const_reverse_iterator, prevector<>::reverse_iterator, prevector
#include <serialize.h> // for ADD_SERIALIZE_METHODS, READWRITEAS
#include <stdint.h> // for int64_t, uint8_t, uint64_t
#include <cstddef> // for size_t
#include <limits> // for numeric_limits
#include <stdexcept> // for runtime_error
#include <string> // for string
#include <vector> // for vector, vector<>::const_iterator
---
script/script.cpp should add these lines:
#include "crypto/common.h" // for ReadLE16, ReadLE32
#include "prevector.h" // for prevector<>::const_iterator, operator-, prevector
script/script.cpp should remove these lines:
- #include <tinyformat.h> // lines 8-8
The full include-list for script/script.cpp:
#include <script/script.h>
#include <utilstrencodings.h> // for HexStr
#include "crypto/common.h" // for ReadLE16, ReadLE32
#include "prevector.h" // for prevector<>::const_iterator, operator-, prevector
---
make[2]: *** [script/libbitcoinconsensus_la-script.lo] Error 1
CXX libbitcoin_server_a-blockencodings.o
utilstrencodings.h should add these lines:
#include <stddef.h> // for size_t
The full include-list for utilstrencodings.h:
#include <stddef.h> // for size_t
#include <stdint.h> // for int64_t, int32_t, uint32_t, uint64_t
#include <string> // for string
#include <vector> // for vector
---
utilstrencodings.cpp should add these lines:
#include <ctype.h> // for isspace
#include <sys/errno.h> // for errno
#include <cstdint> // for uint8_t
#include <istream> // for operator<<, istringstream, stringstream, basic_ostream, basic_istream, locale
utilstrencodings.cpp should remove these lines:
- #include <errno.h> // lines 12-12
The full include-list for utilstrencodings.cpp:
#include <utilstrencodings.h>
#include <ctype.h> // for isspace
#include <sys/errno.h> // for errno
#include <tinyformat.h> // for strprintf
#include <cstdint> // for uint8_t
#include <cstdlib> // for size_t, strtoll, atoi, strtol, strtoul, strtoull
#include <cstring> // for strlen
#include <istream> // for operator<<, istringstream, stringstream, basic_ostream, basic_istream, locale
#include <limits> // for numeric_limits
---
make[2]: *** [libbitcoinconsensus_la-utilstrencodings.lo] Error 1
CXX libbitcoin_server_a-chain.o
CCLD libsecp256k1.la
CXX libbitcoin_server_a-checkpoints.o
Cycle in include-mapping:
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 76106 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -I/usr/local/Cellar/libevent/2.1.8/include -D_THREAD_SAFE -I/usr/local/Cellar/libevent/2.1.8/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT libbitcoin_server_a-bloom.o -MD -MP -MF .deps/libbitcoin_server_a-bloom.Tpo -c -o libbitcoin_server_a-bloom.o `test -f 'bloom.cpp' || echo './'`bloom.cpp
make[2]: *** [libbitcoin_server_a-bloom.o] Error 134
CXX consensus/libbitcoin_server_a-tx_verify.o
chain.h should add these lines:
#include <assert.h> // for assert
#include <stdint.h> // for int64_t, uint32_t, uint64_t, int32_t
#include <algorithm> // for sort
#include <string> // for string
#include "serialize.h" // for READWRITE, VARINT, VarIntMode, VarIntMode::NONNEGATIVE_SIGNED, ADD_SERIALIZE_METHODS, SER_GETHASH
namespace Consensus { struct Params; }
chain.h should remove these lines:
- #include <consensus/params.h> // lines 10-10
The full include-list for chain.h:
#include <arith_uint256.h> // for arith_uint256
#include <assert.h> // for assert
#include <primitives/block.h> // for CBlockHeader, CBlockLocator
#include <stdint.h> // for int64_t, uint32_t, uint64_t, int32_t
#include <tinyformat.h> // for strprintf
#include <uint256.h> // for uint256
#include <algorithm> // for sort
#include <string> // for string
#include <vector> // for vector
#include "serialize.h" // for READWRITE, VARINT, VarIntMode, VarIntMode::NONNEGATIVE_SIGNED, ADD_SERIALIZE_METHODS, SER_GETHASH
namespace Consensus { struct Params; }
---
chain.cpp should add these lines:
#include <limits> // for numeric_limits
#include "arith_uint256.h" // for arith_uint256, base_uint, operator+, operator-, operator/, operator*, operator==, operator>
#include "consensus/params.h" // for Params
#include "primitives/block.h" // for CBlockLocator
#include "uint256.h" // for uint256
The full include-list for chain.cpp:
#include <chain.h>
#include <limits> // for numeric_limits
#include "arith_uint256.h" // for arith_uint256, base_uint, operator+, operator-, operator/, operator*, operator==, operator>
#include "consensus/params.h" // for Params
#include "primitives/block.h" // for CBlockLocator
#include "uint256.h" // for uint256
---
make[2]: *** [libbitcoin_server_a-chain.o] Error 14
CXX libbitcoin_server_a-httprpc.o
consensus/tx_verify.h should add these lines:
#include <utility> // for pair
The full include-list for consensus/tx_verify.h:
#include <amount.h> // for CAmount
#include <stdint.h> // for int64_t
#include <utility> // for pair
#include <vector> // for vector
class CBlockIndex; // lines 13-13
class CCoinsViewCache; // lines 14-14
class CTransaction; // lines 15-15
class CValidationState; // lines 16-16
---
consensus/tx_verify.cpp should add these lines:
#include <assert.h> // for assert
#include <stddef.h> // for size_t
#include <algorithm> // for max
#include <cstdint> // for int64_t
#include <set> // for set
#include "amount.h" // for MoneyRange, CAmount, MAX_MONEY
#include "script/script.h" // for CScript, LOCKTIME_THRESHOLD
#include "serialize.h" // for GetSerializeSize, SER_NETWORK
#include "tinyformat.h" // for strprintf
#include "version.h" // for PROTOCOL_VERSION
The full include-list for consensus/tx_verify.cpp:
#include <consensus/tx_verify.h>
#include <assert.h> // for assert
#include <chain.h> // for CBlockIndex
#include <coins.h> // for Coin, CCoinsViewCache
#include <consensus/consensus.h> // for WITNESS_SCALE_FACTOR, COINBASE_MATURITY, LOCKTIME_VERIFY_SEQUENCE, MAX_BLOCK_WEIGHT
#include <consensus/validation.h> // for CValidationState, REJECT_INVALID
#include <primitives/transaction.h> // for CTransaction, CTxIn, COutPoint, CTxOut, CTxIn::SEQUENCE_LOCKTIME_MASK, CTxIn::SEQUENCE_FINAL, CTxIn::SEQUENCE_LOCKTIME_DISABLE_FLAG, CTxIn::SEQUENCE_LOCKTIME_GRANULARITY, CTxIn::SEQUENCE_LOCKTIME_TYPE_FLAG, SERIALIZE_TRANSACTION_NO_WITNESS, operator<
#include <script/interpreter.h> // for CountWitnessSigOps, SCRIPT_VERIFY_P2SH
#include <stddef.h> // for size_t
#include <utilmoneystr.h> // for FormatMoney
#include <algorithm> // for max
#include <cstdint> // for int64_t
#include <set> // for set
#include "amount.h" // for MoneyRange, CAmount, MAX_MONEY
#include "script/script.h" // for CScript, LOCKTIME_THRESHOLD
#include "serialize.h" // for GetSerializeSize, SER_NETWORK
#include "tinyformat.h" // for strprintf
#include "version.h" // for PROTOCOL_VERSION
---
make[2]: *** [consensus/libbitcoin_server_a-tx_verify.o] Error 13
CXX libbitcoin_server_a-httpserver.o
checkpoints.h should remove these lines:
- #include <uint256.h> // lines 8-8
- #include <map> // lines 10-10
The full include-list for checkpoints.h:
class CBlockIndex; // lines 12-12
struct CCheckpointData; // lines 13-13
---
checkpoints.cpp should add these lines:
#include <map> // for map<>::value_type
class uint256;
checkpoints.cpp should remove these lines:
- #include <chain.h> // lines 7-7
- #include <stdint.h> // lines 12-12
The full include-list for checkpoints.cpp:
#include <checkpoints.h>
#include <chainparams.h> // for MapCheckpoints, CCheckpointData
#include <reverse_iterator.h> // for reverse_iterate, reverse_range
#include <validation.h> // for LookupBlockIndex
#include <map> // for map<>::value_type
class uint256;
---
make[2]: *** [libbitcoin_server_a-checkpoints.o] Error 8
CXX index/libbitcoin_server_a-base.o
addrman.h should add these lines:
#include <assert.h> // for assert
#include <stddef.h> // for size_t
#include <ios> // for ios_base::failure, ios_base
#include <utility> // for pair
#include "logging.h" // for ADDRMAN, LogPrint
#include "serialize.h" // for READWRITE, ADD_SERIALIZE_METHODS, READWRITEAS
#include "uint256.h" // for uint256
addrman.h should remove these lines:
- #include <util.h> // lines 14-14
The full include-list for addrman.h:
#include <assert.h> // for assert
#include <netaddress.h> // for CNetAddr, operator<
#include <protocol.h> // for CAddress, ServiceFlags
#include <random.h> // for GetRandHash, FastRandomContext
#include <stddef.h> // for size_t
#include <stdint.h> // for int64_t
#include <sync.h> // for LOCK, CCriticalSection
#include <timedata.h> // for GetAdjustedTime
#include <ios> // for ios_base::failure, ios_base
#include <map> // for map, __tree_const_iterator<>::__non_const_iterator, map<>::const_iterator, __tree_const_iterator, __map_const_iterator, operator!=, map<>::mapped_type
#include <set> // for set
#include <utility> // for pair
#include <vector> // for vector, vector<>::const_iterator
#include "logging.h" // for ADDRMAN, LogPrint
#include "serialize.h" // for READWRITE, ADD_SERIALIZE_METHODS, READWRITEAS
#include "uint256.h" // for uint256
---
addrman.cpp should add these lines:
#include <math.h> // for pow
#include <algorithm> // for max, min
#include <iterator> // for advance
#include "netaddress.h" // for CService, operator!=, CNetAddr, operator<, operator==
#include "protocol.h" // for CAddress, ServiceFlags
#include "random.h" // for GetRandInt, FastRandomContext
#include "timedata.h" // for GetAdjustedTime
addrman.cpp should remove these lines:
- #include <streams.h> // lines 10-10
The full include-list for addrman.cpp:
#include <addrman.h>
#include <hash.h> // for CHashWriter
#include <math.h> // for pow
#include <serialize.h> // for SER_GETHASH
#include <algorithm> // for max, min
#include <iterator> // for advance
#include "netaddress.h" // for CService, operator!=, CNetAddr, operator<, operator==
#include "protocol.h" // for CAddress, ServiceFlags
#include "random.h" // for GetRandInt, FastRandomContext
#include "timedata.h" // for GetAdjustedTime
---
make[2]: *** [libbitcoin_server_a-addrman.o] Error 18
CXX index/libbitcoin_server_a-txindex.o
addrdb.h should add these lines:
#include <stdint.h> // for int64_t, uint8_t
#include <boost/filesystem/path.hpp> // for path
#include "netaddress.h" // for CSubNet
addrdb.h should remove these lines:
- #include <fs.h> // lines 9-9
- class CSubNet; // lines 15-15
The full include-list for addrdb.h:
#include <serialize.h> // for READWRITE, ADD_SERIALIZE_METHODS
#include <stdint.h> // for int64_t, uint8_t
#include <boost/filesystem/path.hpp> // for path
#include <map> // for map, map<>::value_compare
#include <string> // for string
#include "netaddress.h" // for CSubNet
class CAddrMan; // lines 16-16
class CDataStream; // lines 17-17
---
addrdb.cpp should add these lines:
#include <stdio.h> // for FILE
#include <exception> // for exception
#include "fs.h" // for fopen
#include "serialize.h" // for SER_DISK
#include "uint256.h" // for operator!=, uint256
The full include-list for addrdb.cpp:
#include <addrdb.h>
#include <addrman.h> // for CAddrMan
#include <chainparams.h> // for Params, CChainParams
#include <clientversion.h> // for CLIENT_VERSION
#include <hash.h> // for CHashWriter, CHashVerifier
#include <random.h> // for GetRandBytes
#include <stdio.h> // for FILE
#include <streams.h> // for CAutoFile, CDataStream
#include <tinyformat.h> // for format_error, strprintf
#include <util.h> // for GetDataDir, error, FileCommit, RenameOver
#include <cstring> // for memcmp
#include <exception> // for exception
#include "fs.h" // for fopen
#include "serialize.h" // for SER_DISK
#include "uint256.h" // for operator!=, uint256
---
make[2]: *** [libbitcoin_server_a-addrdb.o] Error 12
CXX libbitcoin_server_a-init.o
bitcoind.cpp should add these lines:
#include <stdlib.h> // for daemon, EXIT_FAILURE, EXIT_SUCCESS
#include <sys/errno.h> // for errno
#include <boost/filesystem/operations.hpp> // for is_directory
#include <exception> // for exception
#include <string> // for operator+, allocator, string
#include "tinyformat.h" // for strprintf
#include "utiltime.h" // for MilliSleep
bitcoind.cpp should remove these lines:
- #include <compat.h> // lines 12-12
- #include <fs.h> // lines 13-13
- #include <httprpc.h> // lines 20-20
- #include <httpserver.h> // lines 19-19
- #include <rpc/server.h> // lines 14-14
- #include <walletinitinterface.h> // lines 22-22
- #include <boost/thread.hpp> // lines 24-24
The full include-list for bitcoind.cpp:
#include <chainparams.h> // for SelectParams
#include <clientversion.h> // for FormatFullVersion
#include <config/bitcoin-config.h> // for PACKAGE_NAME, HAVE_DECL_DAEMON
#include <init.h> // for Interrupt, AppInitBasicSetup, AppInitLockDataDirectory, AppInitMain, AppInitParameterInteraction, AppInitSanityChecks, InitLogging, InitParameterInteraction, LicenseInfo, SetupServerArgs, Shutdown
#include <noui.h> // for noui_connect
#include <shutdown.h> // for ShutdownRequested
#include <stdio.h> // for fprintf, stderr, stdout
#include <stdlib.h> // for daemon, EXIT_FAILURE, EXIT_SUCCESS
#include <sys/errno.h> // for errno
#include <util.h> // for gArgs, ArgsManager, PrintExceptionContinue, GetDataDir, HelpRequested, IsSwitchChar, SetupEnvironment
#include <utilstrencodings.h> // for FormatParagraph
#include <boost/filesystem/operations.hpp> // for is_directory
#include <cstring> // for strerror
#include <exception> // for exception
#include <string> // for operator+, allocator, string
#include "tinyformat.h" // for strprintf
#include "utiltime.h" // for MilliSleep
---
make[2]: *** [bitcoind-bitcoind.o] Error 16
CXX libbitcoin_server_a-dbwrapper.o
blockencodings.h should add these lines:
#include <stddef.h> // for size_t
#include <algorithm> // for min
#include <cstdint> // for uint64_t, uint16_t, uint32_t
#include <ios> // for ios_base::failure, ios_base
#include <limits> // for numeric_limits
#include <utility> // for pair
#include <vector> // for vector
#include "primitives/transaction.h" // for CTransactionRef
#include "serialize.h" // for READWRITE, COMPACTSIZE, ADD_SERIALIZE_METHODS
#include "uint256.h" // for uint256
The full include-list for blockencodings.h:
#include <primitives/block.h> // for CBlockHeader, CBlock
#include <stddef.h> // for size_t
#include <algorithm> // for min
#include <cstdint> // for uint64_t, uint16_t, uint32_t
#include <ios> // for ios_base::failure, ios_base
#include <limits> // for numeric_limits
#include <memory> // for shared_ptr
#include <utility> // for pair
#include <vector> // for vector
#include "primitives/transaction.h" // for CTransactionRef
#include "serialize.h" // for READWRITE, COMPACTSIZE, ADD_SERIALIZE_METHODS
#include "uint256.h" // for uint256
class CTxMemPool; // lines 12-12
---
blockencodings.cpp should add these lines:
#include <assert.h> // for assert
#include <boost/multi_index/detail/hash_index_iterator.hpp> // for hashed_index_iterator
#include <boost/operators.hpp> // for dereferenceable
#include <type_traits> // for move
#include "crypto/sha256.h" // for CSHA256
#include "logging.h" // for CMPCTBLOCK, LogPrint
#include "primitives/block.h" // for CBlock, CBlockHeader
#include "sync.h" // for LOCK
#include "version.h" // for PROTOCOL_VERSION
blockencodings.cpp should remove these lines:
- #include <util.h> // lines 14-14
The full include-list for blockencodings.cpp:
#include <blockencodings.h>
#include <assert.h> // for assert
#include <chainparams.h> // for Params, CChainParams
#include <consensus/consensus.h> // for MAX_BLOCK_WEIGHT, MIN_SERIALIZABLE_TRANSACTION_WEIGHT
#include <consensus/validation.h> // for CValidationState
#include <hash.h> // for SipHashUint256
#include <random.h> // for GetRand
#include <streams.h> // for CDataStream, CDataStream::iterator
#include <txmempool.h> // for CTxMemPool, CTxMemPool::txiter, CTxMemPoolEntry
#include <validation.h> // for CheckBlock
#include <boost/multi_index/detail/hash_index_iterator.hpp> // for hashed_index_iterator
#include <boost/operators.hpp> // for dereferenceable
#include <type_traits> // for move
#include <unordered_map> // for unordered_map, __hash_map_iterator, operator!=, unordered_map<>::iterator
#include "crypto/sha256.h" // for CSHA256
#include "logging.h" // for CMPCTBLOCK, LogPrint
#include "primitives/block.h" // for CBlock, CBlockHeader
#include "sync.h" // for LOCK
#include "version.h" // for PROTOCOL_VERSION
---
make[2]: *** [libbitcoin_server_a-blockencodings.o] Error 22
CXX libbitcoin_server_a-merkleblock.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 76207 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -I/usr/local/Cellar/libevent/2.1.8/include -D_THREAD_SAFE -I/usr/local/Cellar/libevent/2.1.8/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT libbitcoin_server_a-httprpc.o -MD -MP -MF .deps/libbitcoin_server_a-httprpc.Tpo -c -o libbitcoin_server_a-httprpc.o `test -f 'httprpc.cpp' || echo './'`httprpc.cpp
make[2]: *** [libbitcoin_server_a-httprpc.o] Error 134
CXX libbitcoin_server_a-miner.o
merkleblock.h should add these lines:
#include <set> // for set
#include <utility> // for pair
class CBloomFilter;
merkleblock.h should remove these lines:
- #include <bloom.h> // lines 12-12
The full include-list for merkleblock.h:
#include <primitives/block.h> // for CBlock, CBlockHeader
#include <serialize.h> // for READWRITE, ADD_SERIALIZE_METHODS
#include <uint256.h> // for uint256
#include <set> // for set
#include <utility> // for pair
#include <vector> // for vector, vector<>::reference, __bit_reference
class CBloomFilter;
---
merkleblock.cpp should add these lines:
#include <assert.h> // for assert
#include "bloom.h" // for CBloomFilter
#include "primitives/block.h" // for CBlock, CBlockHeader
#include "primitives/transaction.h" // for CTransactionRef, CTransaction
#include "uint256.h" // for uint256, operator==, operator<, base_blob
The full include-list for merkleblock.cpp:
#include <merkleblock.h>
#include <assert.h> // for assert
#include <consensus/consensus.h> // for MAX_BLOCK_WEIGHT, MIN_TRANSACTION_WEIGHT
#include <hash.h> // for Hash
#include <utilstrencodings.h> // for BEGIN, END
#include "bloom.h" // for CBloomFilter
#include "primitives/block.h" // for CBlock, CBlockHeader
#include "primitives/transaction.h" // for CTransactionRef, CTransaction
#include "uint256.h" // for uint256, operator==, operator<, base_blob
---
make[2]: *** [libbitcoin_server_a-merkleblock.o] Error 11
CXX libbitcoin_server_a-net.o
index/base.h should add these lines:
#include <stddef.h> // for size_t
#include <atomic> // for atomic
#include <boost/filesystem/path.hpp> // for path
#include <memory> // for shared_ptr
#include <thread> // for thread
#include <vector> // for vector
index/base.h should remove these lines:
- #include <uint256.h> // lines 12-12
The full include-list for index/base.h:
#include <dbwrapper.h> // for CDBWrapper
#include <primitives/block.h> // for CBlock
#include <primitives/transaction.h> // for CTransactionRef
#include <stddef.h> // for size_t
#include <threadinterrupt.h> // for CThreadInterrupt
#include <validationinterface.h> // for CValidationInterface
#include <atomic> // for atomic
#include <boost/filesystem/path.hpp> // for path
#include <memory> // for shared_ptr
#include <thread> // for thread
#include <vector> // for vector
class CBlockIndex; // lines 15-15
---
index/base.cpp should add these lines:
#include <stdint.h> // for int64_t
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/thread/exceptions.hpp> // for thread_interrupted
#include <exception> // for exception
#include <functional> // for function, bind, __base
#include <list> // for operator!=, operator==
#include <string> // for basic_string, string
#include "chain.h" // for CBlockIndex, CChain
#include "dbwrapper.h" // for CDBWrapper
#include "logging.h" // for LogPrintf
#include "primitives/block.h" // for CBlockLocator, CBlock
#include "primitives/transaction.h" // for CTransactionRef
#include "sync.h" // for LOCK, AssertLockHeld, AssertLockNotHeld
#include "threadinterrupt.h" // for CThreadInterrupt
#include "uint256.h" // for uint256
#include "utiltime.h" // for GetTime
#include "validationinterface.h" // for RegisterValidationInterface, SyncWithValidationInterfaceQueue, UnregisterValidationInterface
The full include-list for index/base.cpp:
#include <index/base.h>
#include <chainparams.h> // for Params, CChainParams
#include <shutdown.h> // for StartShutdown
#include <stdint.h> // for int64_t
#include <tinyformat.h> // for format_error, format
#include <ui_interface.h> // for CClientUIInterface, CClientUIInterface::MSG_ERROR, uiInterface
#include <util.h> // for error, TraceThread
#include <validation.h> // for chainActive, cs_main, FindForkInGlobalIndex, LookupBlockIndex, ReadBlockFromDisk
#include <warnings.h> // for SetMiscWarning
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/thread/exceptions.hpp> // for thread_interrupted
#include <exception> // for exception
#include <functional> // for function, bind, __base
#include <list> // for operator!=, operator==
#include <string> // for basic_string, string
#include "chain.h" // for CBlockIndex, CChain
#include "dbwrapper.h" // for CDBWrapper
#include "logging.h" // for LogPrintf
#include "primitives/block.h" // for CBlockLocator, CBlock
#include "primitives/transaction.h" // for CTransactionRef
#include "sync.h" // for LOCK, AssertLockHeld, AssertLockNotHeld
#include "threadinterrupt.h" // for CThreadInterrupt
#include "uint256.h" // for uint256
#include "utiltime.h" // for GetTime
#include "validationinterface.h" // for RegisterValidationInterface, SyncWithValidationInterfaceQueue, UnregisterValidationInterface
---
make[2]: *** [index/libbitcoin_server_a-base.o] Error 28
CXX libbitcoin_server_a-net_processing.o
httpserver.h should add these lines:
#include <utility> // for pair
httpserver.h should remove these lines:
- #include <stdint.h> // lines 9-9
- struct event_base; // lines 17-17
- struct evhttp_request; // lines 16-16
The full include-list for httpserver.h:
#include <functional> // for function
#include <string> // for string
#include <utility> // for pair
class CService; // lines 18-18
class HTTPRequest; // lines 19-19
---
httpserver.cpp should add these lines:
#include <assert.h> // for assert
#include <stdint.h> // for uint16_t
#include <algorithm> // for max
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <chrono> // for milliseconds
#include <deque> // for deque
#include <list> // for operator!=, operator==
#include <thread> // for thread, mutex, condition_variable, unique_lock
#include <type_traits> // for remove_reference<>::type, move
#include <vector> // for vector, vector<>::iterator, vector<>::const_iterator
#include "event2/event-config.h" // for EVENT__HAVE_NETINET_IN_H
#include "event2/event.h" // for event_get_version_number, event_enable_debug_logging, event_active, event_base_dispatch, event_base_free, event_base_got_break, event_base_loopbreak, event_base_loopexit, event_free, event_new, event_set_log_callback, EVENT_LOG_WARN
#include "event2/http.h" // for evhttp_request_get_connection, evhttp_connection_get_bufferevent, evhttp_set_gencb, evhttp_add_header, evhttp_bind_socket_with_handle, evhttp_connection_get_peer, evhttp_del_accept_socket, evhttp_find_header, evhttp_free, evhttp_reques...
#include "logging.h" // for LogPrint, HTTP, LogPrintf, LIBEVENT, Logger, g_logger
#include "netaddress.h" // for CSubNet, CService, CNetAddr
#include "serialize.h" // for MAX_SIZE
#include "tinyformat.h" // for strprintf
struct bufferevent;
struct evhttp;
struct evhttp_bound_socket;
struct evhttp_connection;
httpserver.cpp should remove these lines:
- #include <compat.h> // lines 8-8
- #include <event2/keyvalq_struct.h> // lines 30-30
- #include <netinet/in.h> // lines 35-35
- #include <signal.h> // lines 23-23
- #include <stdio.h> // lines 18-18
- #include <sync.h> // lines 13-13
- #include <sys/stat.h> // lines 22-22
- #include <sys/types.h> // lines 21-21
The full include-list for httpserver.cpp:
#include <httpserver.h>
#include <assert.h> // for assert
#include <chainparamsbase.h> // for BaseParams, CBaseChainParams
#include <event2/buffer.h> // for evbuffer_add, evbuffer_drain, evbuffer_get_length, evbuffer_pullup
#include <event2/bufferevent.h> // for bufferevent_disable, bufferevent_enable
#include <event2/thread.h> // for evthread_use_pthreads
#include <event2/util.h> // for evutil_socket_t
#include <netbase.h> // for LookupHost, LookupNumeric, LookupSubNet
#include <rpc/protocol.h> // for HTTP_FORBIDDEN
#include <stdint.h> // for uint16_t
#include <stdlib.h> // for free
#include <support/events.h> // for obtain_event_base, obtain_evhttp, raii_event_base, raii_evhttp
#include <ui_interface.h> // for CClientUIInterface, CClientUIInterface::MSG_ERROR, uiInterface
#include <util.h> // for ArgsManager, gArgs, RenameThread
#include <utilstrencodings.h> // for SplitHostPort
#include <algorithm> // for max
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <chrono> // for milliseconds
#include <cstddef> // for size_t
#include <deque> // for deque
#include <future> // for future, packaged_task, future_status, future_status::timeout
#include <list> // for operator!=, operator==
#include <memory> // for unique_ptr
#include <thread> // for thread, mutex, condition_variable, unique_lock
#include <type_traits> // for remove_reference<>::type, move
#include <vector> // for vector, vector<>::iterator, vector<>::const_iterator
#include "event2/event-config.h" // for EVENT__HAVE_NETINET_IN_H
#include "event2/event.h" // for event_get_version_number, event_enable_debug_logging, event_active, event_base_dispatch, event_base_free, event_base_got_break, event_base_loopbreak, event_base_loopexit, event_free, event_new, event_set_log_callback, EVENT_LOG_WARN
#include "event2/http.h" // for evhttp_request_get_connection, evhttp_connection_get_bufferevent, evhttp_set_gencb, evhttp_add_header, evhttp_bind_socket_with_handle, evhttp_connection_get_peer, evhttp_del_accept_socket, evhttp_find_header, evhttp_free, evhttp_reques...
#include "logging.h" // for LogPrint, HTTP, LogPrintf, LIBEVENT, Logger, g_logger
#include "netaddress.h" // for CSubNet, CService, CNetAddr
#include "serialize.h" // for MAX_SIZE
#include "tinyformat.h" // for strprintf
struct bufferevent;
struct evhttp;
struct evhttp_bound_socket;
struct evhttp_connection;
---
make[2]: *** [libbitcoin_server_a-httpserver.o] Error 37
CXX libbitcoin_server_a-noui.o
dbwrapper.h should add these lines:
#include <stddef.h> // for size_t
#include <stdint.h> // for uint64_t
#include <boost/filesystem/path.hpp> // for path
#include <exception> // for exception
#include <stdexcept> // for runtime_error
#include <string> // for string, basic_string<>::value_type
#include <vector> // for vector
#include "leveldb/iterator.h" // for Iterator
#include "leveldb/options.h" // for ReadOptions, WriteOptions, Options
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
#include "logging.h" // for LogPrintf
namespace leveldb { class Env; }
dbwrapper.h should remove these lines:
- #include <fs.h> // lines 9-9
- #include <util.h> // lines 12-12
- #include <utilstrencodings.h> // lines 13-13
- #include <version.h> // lines 14-14
The full include-list for dbwrapper.h:
#include <clientversion.h> // for CLIENT_VERSION
#include <leveldb/db.h> // for DB, Range
#include <leveldb/write_batch.h> // for WriteBatch
#include <serialize.h> // for SER_DISK
#include <stddef.h> // for size_t
#include <stdint.h> // for uint64_t
#include <streams.h> // for CDataStream
#include <boost/filesystem/path.hpp> // for path
#include <exception> // for exception
#include <stdexcept> // for runtime_error
#include <string> // for string, basic_string<>::value_type
#include <vector> // for vector
#include "leveldb/iterator.h" // for Iterator
#include "leveldb/options.h" // for ReadOptions, WriteOptions, Options
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
#include "logging.h" // for LogPrintf
class CDBWrapper; // lines 28-28
namespace leveldb { class Env; }
---
dbwrapper.cpp should add these lines:
#include <assert.h> // for assert
#include <stdarg.h> // for va_copy, va_end
#include <stdio.h> // for size_t, vsnprintf, va_list
#include <boost/filesystem/convenience.hpp> // for basename
#include "leveldb/db.h" // for DB, DestroyDB, kMajorVersion, kMinorVersion
#include "tinyformat.h" // for format_error
#include "util.h" // for TryCreateDirectories, ArgsManager, gArgs
#include "utilstrencodings.h" // for HexStr
dbwrapper.cpp should remove these lines:
- #include <stdint.h> // lines 14-14
The full include-list for dbwrapper.cpp:
#include <dbwrapper.h>
#include <assert.h> // for assert
#include <leveldb/cache.h> // for NewLRUCache, Cache
#include <leveldb/env.h> // for Env, Logger
#include <leveldb/filter_policy.h> // for NewBloomFilterPolicy, FilterPolicy
#include <memenv.h> // for NewMemEnv
#include <random.h> // for GetRandBytes
#include <stdarg.h> // for va_copy, va_end
#include <stdio.h> // for size_t, vsnprintf, va_list
#include <algorithm> // for min
#include <boost/filesystem/convenience.hpp> // for basename
#include <memory> // for unique_ptr
#include "leveldb/db.h" // for DB, DestroyDB, kMajorVersion, kMinorVersion
#include "tinyformat.h" // for format_error
#include "util.h" // for TryCreateDirectories, ArgsManager, gArgs
#include "utilstrencodings.h" // for HexStr
---
make[2]: *** [libbitcoin_server_a-dbwrapper.o] Error 28
CXX policy/libbitcoin_server_a-fees.o
index/txindex.h should add these lines:
#include <stddef.h> // for size_t
#include <memory> // for unique_ptr
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CTransactionRef
class CBlockIndex;
class uint256;
index/txindex.h should remove these lines:
- #include <chain.h> // lines 8-8
- #include <txdb.h> // lines 10-10
The full include-list for index/txindex.h:
#include <index/base.h> // for BaseIndex, BaseIndex::DB
#include <stddef.h> // for size_t
#include <memory> // for unique_ptr
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CTransactionRef
class CBlockIndex;
class TxIndex::DB; // lines 20-20
class uint256;
---
index/txindex.cpp should add these lines:
#include <stdint.h> // for uint32_t, int64_t
#include <stdio.h> // for size_t, fseek, SEEK_CUR
#include <boost/filesystem/path.hpp> // for operator/, path
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/thread/detail/thread.hpp> // for interruption_point
#include <exception> // for exception
#include <list> // for operator!=, operator==
#include <string> // for basic_string
#include <utility> // for pair, __make_pair_return<>::type, make_pair
#include <vector> // for vector
#include "chain.h" // for CDiskBlockPos, CBlockIndex, CChain
#include "clientversion.h" // for CLIENT_VERSION
#include "dbwrapper.h" // for CDBBatch, CDBIterator, CDBWrapper
#include "index/base.h" // for BaseIndex, BaseIndex::DB
#include "logging.h" // for LogPrintf
#include "serialize.h" // for GetSerializeSize, GetSizeOfCompactSize, SER_DISK, ADD_SERIALIZE_METHODS, READWRITE, READWRITEAS, VARINT
#include "streams.h" // for CAutoFile
#include "sync.h" // for LOCK
#include "tinyformat.h" // for format_error
#include "txdb.h" // for CBlockTreeDB
#include "uint256.h" // for uint256, operator!=, base_blob
index/txindex.cpp should remove these lines:
- #include <boost/thread.hpp> // lines 11-11
The full include-list for index/txindex.cpp:
#include <index/txindex.h>
#include <shutdown.h> // for ShutdownRequested
#include <stdint.h> // for uint32_t, int64_t
#include <stdio.h> // for size_t, fseek, SEEK_CUR
#include <ui_interface.h> // for CClientUIInterface, uiInterface
#include <util.h> // for error, _, GetDataDir, MakeUnique
#include <validation.h> // for OpenBlockFile, chainActive, cs_main, pblocktree
#include <boost/filesystem/path.hpp> // for operator/, path
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/thread/detail/thread.hpp> // for interruption_point
#include <exception> // for exception
#include <list> // for operator!=, operator==
#include <string> // for basic_string
#include <utility> // for pair, __make_pair_return<>::type, make_pair
#include <vector> // for vector
#include "chain.h" // for CDiskBlockPos, CBlockIndex, CChain
#include "clientversion.h" // for CLIENT_VERSION
#include "dbwrapper.h" // for CDBBatch, CDBIterator, CDBWrapper
#include "index/base.h" // for BaseIndex, BaseIndex::DB
#include "logging.h" // for LogPrintf
#include "serialize.h" // for GetSerializeSize, GetSizeOfCompactSize, SER_DISK, ADD_SERIALIZE_METHODS, READWRITE, READWRITEAS, VARINT
#include "streams.h" // for CAutoFile
#include "sync.h" // for LOCK
#include "tinyformat.h" // for format_error
#include "txdb.h" // for CBlockTreeDB
#include "uint256.h" // for uint256, operator!=, base_blob
---
make[2]: *** [index/libbitcoin_server_a-txindex.o] Error 34
CXX policy/libbitcoin_server_a-policy.o
miner.h should add these lines:
#include <stddef.h> // for size_t
#include <boost/multi_index/identity.hpp> // for identity
#include <boost/multi_index/indexed_by.hpp> // for indexed_by
#include <boost/multi_index/tag.hpp> // for tag
#include <boost/operators.hpp> // for dereferenceable
#include <cstdint> // for int64_t, uint64_t
#include <vector> // for vector
#include "amount.h" // for CAmount
#include "policy/feerate.h" // for CFeeRate
#include "threadsafety.h" // for EXCLUSIVE_LOCKS_REQUIRED
#include "uint256.h" // for operator<
class CTransaction;
miner.h should remove these lines:
- #include <stdint.h> // lines 13-13
The full include-list for miner.h:
#include <primitives/block.h> // for CBlock
#include <stddef.h> // for size_t
#include <txmempool.h> // for CTxMemPool::txiter, CTxMemPool, CTxMemPoolEntry, CTxMemPool::setEntries, CompareTxMemPoolEntryByAncestorFee, CTxMemPool::CompareIteratorByHash
#include <validation.h> // for mempool
#include <boost/multi_index/identity.hpp> // for identity
#include <boost/multi_index/indexed_by.hpp> // for indexed_by
#include <boost/multi_index/ordered_index.hpp> // for ordered_non_unique, ordered_unique
#include <boost/multi_index/tag.hpp> // for tag
#include <boost/multi_index_container.hpp> // for multi_index_container
#include <boost/operators.hpp> // for dereferenceable
#include <cstdint> // for int64_t, uint64_t
#include <memory> // for unique_ptr
#include <vector> // for vector
#include "amount.h" // for CAmount
#include "policy/feerate.h" // for CFeeRate
#include "threadsafety.h" // for EXCLUSIVE_LOCKS_REQUIRED
#include "uint256.h" // for operator<
class CBlockIndex; // lines 18-18
class CChainParams; // lines 19-19
class CScript; // lines 20-20
class CTransaction;
namespace Consensus { struct Params; } // lines 22-22
---
miner.cpp should add these lines:
#include <assert.h> // for assert
#include <stdint.h> // for int64_t, uint64_t
#include <boost/multi_index/detail/bidir_node_iterator.hpp> // for operator==, bidir_node_iterator
#include <boost/multi_index/detail/hash_index_iterator.hpp> // for hashed_index_iterator
#include <boost/multi_index/detail/index_node_base.hpp> // for index_node_base<>::value_type
#include <boost/multi_index/detail/ord_index_impl.hpp> // for ordered_index<>::iterator
#include <boost/multi_index/detail/ord_index_node.hpp> // for ordered_index_node
#include <limits> // for numeric_limits
#include <set> // for __tree_const_iterator, operator!=, set<>::iterator
#include <stdexcept> // for runtime_error
#include <string> // for string
#include <type_traits> // for move
#include "consensus/params.h" // for Params
#include "logging.h" // for LogPrintf, BENCH, LogPrint
#include "primitives/block.h" // for CBlock, CBlockHeader
#include "script/script.h" // for CScript, operator+, CScriptNum, OP_0
#include "sync.h" // for LOCK2
#include "tinyformat.h" // for strprintf
#include "txmempool.h" // for CTxMemPool::txiter, CTxMemPool, CTxMemPool::setEntries, CTxMemPoolEntry, CTxMemPool::indexed_transaction_set, ancestor_score (ptr only), CompareTxMemPoolEntryByAncestorFee
#include "utiltime.h" // for GetTimeMicros
#include "validation.h" // for mempool, ComputeBlockVersion, FormatStateMessage, GenerateCoinbaseCommitment, GetBlockSubsidy, IsWitnessEnabled, TestBlockValidity, COINBASE_FLAGS, chainActive, cs_main
miner.cpp should remove these lines:
- #include <coins.h> // lines 11-11
- #include <hash.h> // lines 16-16
- #include <net.h> // lines 17-17
- #include <script/standard.h> // lines 22-22
- #include <validationinterface.h> // lines 26-26
- #include <queue> // lines 29-29
- #include <utility> // lines 30-30
The full include-list for miner.cpp:
#include <miner.h>
#include <amount.h> // for CAmount
#include <assert.h> // for assert
#include <chain.h> // for CBlockIndex, CChain
#include <chainparams.h> // for CChainParams
#include <consensus/consensus.h> // for WITNESS_SCALE_FACTOR, LOCKTIME_MEDIAN_TIME_PAST, MAX_BLOCK_SIGOPS_COST, MAX_BLOCK_WEIGHT
#include <consensus/merkle.h> // for BlockMerkleRoot
#include <consensus/tx_verify.h> // for GetLegacySigOpCount, IsFinalTx
#include <consensus/validation.h> // for GetBlockWeight, CValidationState
#include <policy/feerate.h> // for CFeeRate
#include <policy/policy.h> // for DEFAULT_BLOCK_MAX_WEIGHT, DEFAULT_BLOCK_MIN_TX_FEE, STANDARD_LOCKTIME_VERIFY_FLAGS
#include <pow.h> // for GetNextWorkRequired
#include <primitives/transaction.h> // for CTransactionRef, CMutableTransaction, CTxIn, CTxOut, MakeTransactionRef, CTransaction, COutPoint
#include <stdint.h> // for int64_t, uint64_t
#include <timedata.h> // for GetAdjustedTime
#include <util.h> // for ArgsManager, gArgs
#include <utilmoneystr.h> // for ParseMoney
#include <algorithm> // for max, min, sort
#include <boost/multi_index/detail/bidir_node_iterator.hpp> // for operator==, bidir_node_iterator
#include <boost/multi_index/detail/hash_index_iterator.hpp> // for hashed_index_iterator
#include <boost/multi_index/detail/index_node_base.hpp> // for index_node_base<>::value_type
#include <boost/multi_index/detail/ord_index_impl.hpp> // for ordered_index<>::iterator
#include <boost/multi_index/detail/ord_index_node.hpp> // for ordered_index_node
#include <limits> // for numeric_limits
#include <set> // for __tree_const_iterator, operator!=, set<>::iterator
#include <stdexcept> // for runtime_error
#include <string> // for string
#include <type_traits> // for move
#include "consensus/params.h" // for Params
#include "logging.h" // for LogPrintf, BENCH, LogPrint
#include "primitives/block.h" // for CBlock, CBlockHeader
#include "script/script.h" // for CScript, operator+, CScriptNum, OP_0
#include "sync.h" // for LOCK2
#include "tinyformat.h" // for strprintf
#include "txmempool.h" // for CTxMemPool::txiter, CTxMemPool, CTxMemPool::setEntries, CTxMemPoolEntry, CTxMemPool::indexed_transaction_set, ancestor_score (ptr only), CompareTxMemPoolEntryByAncestorFee
#include "utiltime.h" // for GetTimeMicros
#include "validation.h" // for mempool, ComputeBlockVersion, FormatStateMessage, GenerateCoinbaseCommitment, GetBlockSubsidy, IsWitnessEnabled, TestBlockValidity, COINBASE_FLAGS, chainActive, cs_main
---
make[2]: *** [libbitcoin_server_a-miner.o] Error 43
CXX policy/libbitcoin_server_a-rbf.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 76241 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -I/usr/local/Cellar/libevent/2.1.8/include -D_THREAD_SAFE -I/usr/local/Cellar/libevent/2.1.8/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT policy/libbitcoin_server_a-fees.o -MD -MP -MF policy/.deps/libbitcoin_server_a-fees.Tpo -c -o policy/libbitcoin_server_a-fees.o `test -f 'policy/fees.cpp' || echo './'`policy/fees.cpp
make[2]: *** [policy/libbitcoin_server_a-fees.o] Error 134
CXX libbitcoin_server_a-pow.o
(noui.h has correct #includes/fwd-decls)
noui.cpp should add these lines:
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/type_index/type_index_facade.hpp> // for operator==
#include <list> // for operator!=
#include "logging.h" // for LogPrintf
noui.cpp should remove these lines:
- #include <stdint.h> // lines 12-12
The full include-list for noui.cpp:
#include <noui.h>
#include <ui_interface.h> // for CClientUIInterface, uiInterface, CClientUIInterface::SECURE, CClientUIInterface::MSG_ERROR, CClientUIInterface::MSG_INFORMATION, CClientUIInterface::MSG_WARNING
#include <util.h> // for _
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/type_index/type_index_facade.hpp> // for operator==
#include <cstdio> // for fprintf, stderr
#include <list> // for operator!=
#include <string> // for string
#include "logging.h" // for LogPrintf
---
make[2]: *** [libbitcoin_server_a-noui.o] Error 9
CXX libbitcoin_server_a-rest.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 76244 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -I/usr/local/Cellar/libevent/2.1.8/include -D_THREAD_SAFE -I/usr/local/Cellar/libevent/2.1.8/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT policy/libbitcoin_server_a-policy.o -MD -MP -MF policy/.deps/libbitcoin_server_a-policy.Tpo -c -o policy/libbitcoin_server_a-policy.o `test -f 'policy/policy.cpp' || echo './'`policy/policy.cpp
make[2]: *** [policy/libbitcoin_server_a-policy.o] Error 134
CXX rpc/libbitcoin_server_a-blockchain.o
init.h should remove these lines:
- #include <util.h> // lines 11-11
- #include <memory> // lines 9-9
- class CScheduler; // lines 13-13
- class CWallet; // lines 14-14
- namespace boost { class thread_group; } // lines 21-21
The full include-list for init.h:
#include <string> // for string
class WalletInitInterface; // lines 16-16
---
pow.h should add these lines:
namespace Consensus { struct Params; }
pow.h should remove these lines:
- #include <consensus/params.h> // lines 9-9
The full include-list for pow.h:
#include <stdint.h> // for int64_t
class CBlockHeader; // lines 13-13
class CBlockIndex; // lines 14-14
class uint256; // lines 15-15
namespace Consensus { struct Params; }
---
pow.cpp should add these lines:
#include <assert.h> // for assert
#include "consensus/params.h" // for Params
The full include-list for pow.cpp:
#include <pow.h>
#include <arith_uint256.h> // for arith_uint256, UintToArith256, operator>, base_uint, operator==
#include <assert.h> // for assert
#include <chain.h> // for CBlockIndex
#include <primitives/block.h> // for CBlockHeader
#include <uint256.h> // for uint256
#include "consensus/params.h" // for Params
---
make[2]: *** [libbitcoin_server_a-pow.o] Error 6
CXX rpc/libbitcoin_server_a-mining.o
init.cpp should add these lines:
#include <assert.h> // for assert
#include <stdlib.h> // for abort
#include <sys/select.h> // for FD_SETSIZE
#include <sys/signal.h> // for sigaction, signal, SIGHUP, SIGINT, SIGPIPE, SIGTERM, SIG_IGN, sa_handler
#include <sys/stat.h> // for umask
#include <unistd.h> // for getpid
#include <algorithm> // for min, max, find, none_of
#include <atomic> // for atomic_bool, atomic
#include <boost/algorithm/string/detail/classification.hpp> // for is_any_ofF
#include <boost/bind/bind.hpp> // for bind_t, bind
#include <boost/filesystem/operations.hpp> // for directory_iterator, directory_entry, remove, current_path, exists, filesystem_error, is_directory, is_regular_file
#include <boost/filesystem/path.hpp> // for path, operator/
#include <boost/function/function_base.hpp> // for operator==
#include <boost/function/function_template.hpp> // for function
#include <boost/iterator/iterator_facade.hpp> // for operator!=, iterator_facade_base, operator++, iterator_facade
#include <boost/iterator/iterator_traits.hpp> // for iterator_value<>::type
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/signals2/optional_last_value.hpp> // for optional_last_value
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/thread/detail/thread_group.hpp> // for thread_group
#include <boost/thread/exceptions.hpp> // for thread_interrupted
#include <boost/type_index/type_index_facade.hpp> // for operator==
#include <chrono> // for milliseconds
#include <cmath> // for ceil
#include <exception> // for exception, terminate
#include <functional> // for function, __base
#include <limits> // for numeric_limits
#include <list> // for operator!=, operator==
#include <map> // for map, map<>::mapped_type
#include <memory> // for unique_ptr, allocator, operator!=
#include <new> // for set_new_handler
#include <set> // for set
#include <stdexcept> // for runtime_error
#include <thread> // for thread
#include <utility> // for pair
#include <vector> // for vector, __vector_base<>::value_type
#include "arith_uint256.h" // for UintToArith256, arith_uint256, operator<, base_uint
#include "chainparamsbase.h" // for CBaseChainParams, CreateBaseChainParams, SetupChainParamsBaseOptions, CBaseChainParams::MAIN, CBaseChainParams::TESTNET
#include "clientversion.h" // for CLIENT_VERSION, FormatFullVersion, FormatSubVersion, CLIENT_NAME
#include "coins.h" // for CCoinsViewCache, CCoinsViewBacked, CCoinsView (ptr only), Coin (ptr only)
#include "consensus/params.h" // for Params, BIP9Deployment, DEPLOYMENT_SEGWIT, DeploymentPos, MAX_VERSION_BITS_DEPLOYMENTS
#include "crypto/sha256.h" // for SHA256AutoDetect
#include "logging.h" // for LogPrintf, Logger, g_logger, ListLogCategories, DEFAULT_DEBUGLOGFILE, DEFAULT_LOGIPS, DEFAULT_LOGTIMEMICROS, DEFAULT_LOGTIMESTAMPS, LogPrint, RPC, fLogIPs
#include "netaddress.h" // for CService, CSubNet, Network, NET_ONION, NET_IPV4, NET_IPV6, NET_MAX, NET_UNROUTABLE
#include "protocol.h" // for ServiceFlags, NODE_NETWORK, NODE_BLOOM, NODE_NETWORK_LIMITED, NODE_WITNESS
#include "pubkey.h" // for ECCVerifyHandle
#include "random.h" // for GetRand, RandomInit, Random_SanityCheck
#include "serialize.h" // for SER_DISK
#include "streams.h" // for CAutoFile
#include "sync.h" // for CConditionVariable, CWaitableCriticalSection, LOCK, CCriticalBlock, WaitableLock, CCriticalSection, TRY_LOCK
#include "tinyformat.h" // for strprintf, format_error
#include "uint256.h" // for uint256, uint256S
#include "utilstrencodings.h" // for ParseInt64, IsHexNumber, SanitizeString, atoi, SAFE_CHARS_UA_COMMENT
#include "utiltime.h" // for GetTimeMillis, FormatISO8601DateTime, GetTime, SetMockTime
#include "versionbits.h" // for VBDeploymentInfo, VersionBitsDeploymentInfo
class COutPoint;
init.cpp should remove these lines:
- #include <addrman.h> // lines 12-12
- #include <checkpoints.h> // lines 16-16
- #include <openssl/crypto.h> // lines 62-62
- #include <warnings.h> // lines 47-47
- #include <boost/bind.hpp> // lines 59-59
- #include <boost/interprocess/sync/file_lock.hpp> // lines 60-60
- #include <boost/thread.hpp> // lines 61-61
The full include-list for init.cpp:
#include <init.h>
#include <amount.h> // for CAmount
#include <assert.h> // for assert
#include <chain.h> // for CChain, CBlockIndex, CDiskBlockPos
#include <chainparams.h> // for CChainParams, Params, CreateChainParams, UpdateVersionBitsParameters
#include <compat/sanity.h> // for glibc_sanity_test, glibcxx_sanity_test
#include <config/bitcoin-config.h> // for ENABLE_ZMQ, PACKAGE_NAME, USE_UPNP, COPYRIGHT_YEAR, ENABLE_WALLET, HAVE_DECL_DAEMON
#include <consensus/validation.h> // for CValidationState
#include <fs.h> // for fopen
#include <httprpc.h> // for InterruptHTTPRPC, InterruptREST, StartHTTPRPC, StartREST, StopHTTPRPC, StopREST
#include <httpserver.h> // for InitHTTPServer, InterruptHTTPServer, StartHTTPServer, StopHTTPServer, DEFAULT_HTTP_SERVER_TIMEOUT, DEFAULT_HTTP_THREADS, DEFAULT_HTTP_WORKQUEUE
#include <index/txindex.h> // for TxIndex, g_txindex
#include <key.h> // for ECC_InitSanityCheck, ECC_Start, ECC_Stop
#include <miner.h> // for DEFAULT_PRINTPRIORITY
#include <net.h> // for CConnman::Options, SetLimited, CConnman, GetListenPort, MAX_ADDNODE_CONNECTIONS, AddLocal, DEFAULT_BLOCKSONLY, DEFAULT_LISTEN, Discover, InterruptMapPort, StartMapPort, StopMapPort, strSubVersion, DEFAULT_MAXRECEIVEBUFFER, DEFAU...
#include <net_processing.h> // for PeerLogicValidation, DEFAULT_ENABLE_BIP61, DEFAULT_BLOCK_RECONSTRUCTION_EXTRA_TXN, DEFAULT_MAX_ORPHAN_TRANSACTIONS, g_enable_bip61
#include <netbase.h> // for Lookup, SetProxy, proxyType, fNameLookup, DEFAULT_CONNECT_TIMEOUT, LookupSubNet, ParseNetwork, SetNameProxy, nConnectTimeout, DEFAULT_NAME_LOOKUP
#include <policy/feerate.h> // for CFeeRate, CURRENCY_UNIT, operator>
#include <policy/fees.h> // for CBlockPolicyEstimator
#include <policy/policy.h> // for DEFAULT_MAX_MEMPOOL_SIZE, incrementalRelayFee, nBytesPerSigOp, DEFAULT_BLOCK_MAX_WEIGHT, DEFAULT_BLOCK_MIN_TX_FEE, DEFAULT_BYTES_PER_SIGOP, DEFAULT_INCREMENTAL_RELAY_FEE, DUST_RELAY_TX_FEE, dustRelayFee
#include <rpc/blockchain.h> // for RPCNotifyBlockChange
#include <rpc/register.h> // for RegisterAllCoreRPCCommands
#include <rpc/server.h> // for DEFAULT_RPC_SERIALIZE_VERSION, InterruptRPC, OnStarted, OnStopped, SetRPCWarmupFinished, StartRPC, StopRPC, SetRPCWarmupStatus, tableRPC
#include <scheduler.h> // for CScheduler::Function, CScheduler
#include <script/sigcache.h> // for InitSignatureCache, DEFAULT_MAX_SIG_CACHE_SIZE
#include <script/standard.h> // for DEFAULT_ACCEPT_DATACARRIER, nMaxDatacarrierBytes, MAX_OP_RETURN_RELAY, fAcceptDatacarrier
#include <shutdown.h> // for ShutdownRequested, StartShutdown, AbortShutdown
#include <signal.h> // for sigaction, sigemptyset
#include <stdint.h> // for int64_t, uint64_t
#include <stdio.h> // for FILE, size_t
#include <stdlib.h> // for abort
#include <sys/select.h> // for FD_SETSIZE
#include <sys/signal.h> // for sigaction, signal, SIGHUP, SIGINT, SIGPIPE, SIGTERM, SIG_IGN, sa_handler
#include <sys/stat.h> // for umask
#include <timedata.h> // for GetAdjustedTime, DEFAULT_MAX_TIME_ADJUSTMENT
#include <torcontrol.h> // for InterruptTorControl, StartTorControl, StopTorControl, DEFAULT_LISTEN_ONION, DEFAULT_TOR_CONTROL
#include <txdb.h> // for CCoinsViewDB, CBlockTreeDB, nDefaultDbCache, nMaxDbCache, nMinDbCache, nDefaultDbBatchSize, nMaxBlockDBCache, nMaxCoinsDBCache, nMaxTxIndexCache
#include <txmempool.h> // for CTxMemPool
#include <ui_interface.h> // for InitError, InitWarning, CClientUIInterface, uiInterface, AmountErrMsg, CClientUIInterface::MSG_ERROR, CClientUIInterface::BTN_ABORT
#include <unistd.h> // for getpid
#include <util.h> // for ArgsManager, gArgs, _, OptionsCategory, OptionsCategory::CONNECTION, OptionsCategory::DEBUG_TEST, OptionsCategory::OPTIONS, GetDataDir, OptionsCategory::RPC, OptionsCategory::NODE_RELAY, GetBlocksDir, GetConfigFile, GetDefaultDa...
#include <utilmoneystr.h> // for FormatMoney, ParseMoney
#include <validation.h> // for nScriptCheckThreads, LoadExternalBlockFile, fReindex, pcoinsdbview, CheckDiskSpace, FlushStateToDisk, FormatStateMessage, LoadGenesisBlock, nPruneTarget, pcoinsTip, DEFAULT_TXINDEX, fPruneMode, minRelayTxFee, nMinimumChainWork
#include <validationinterface.h> // for GetMainSignals, CMainSignals, RegisterValidationInterface, UnregisterAllValidationInterfaces, UnregisterValidationInterface
#include <walletinitinterface.h> // for WalletInitInterface
#include <algorithm> // for min, max, find, none_of
#include <atomic> // for atomic_bool, atomic
#include <boost/algorithm/string/classification.hpp> // for is_any_of
#include <boost/algorithm/string/detail/classification.hpp> // for is_any_ofF
#include <boost/algorithm/string/replace.hpp> // for replace_all
#include <boost/algorithm/string/split.hpp> // for split
#include <boost/bind/bind.hpp> // for bind_t, bind
#include <boost/filesystem/operations.hpp> // for directory_iterator, directory_entry, remove, current_path, exists, filesystem_error, is_directory, is_regular_file
#include <boost/filesystem/path.hpp> // for path, operator/
#include <boost/function/function_base.hpp> // for operator==
#include <boost/function/function_template.hpp> // for function
#include <boost/iterator/iterator_facade.hpp> // for operator!=, iterator_facade_base, operator++, iterator_facade
#include <boost/iterator/iterator_traits.hpp> // for iterator_value<>::type
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/signals2/optional_last_value.hpp> // for optional_last_value
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/thread/detail/thread_group.hpp> // for thread_group
#include <boost/thread/exceptions.hpp> // for thread_interrupted
#include <boost/type_index/type_index_facade.hpp> // for operator==
#include <chrono> // for milliseconds
#include <cmath> // for ceil
#include <exception> // for exception, terminate
#include <functional> // for function, __base
#include <limits> // for numeric_limits
#include <list> // for operator!=, operator==
#include <map> // for map, map<>::mapped_type
#include <memory> // for unique_ptr, allocator, operator!=
#include <new> // for set_new_handler
#include <set> // for set
#include <stdexcept> // for runtime_error
#include <thread> // for thread
#include <utility> // for pair
#include <vector> // for vector, __vector_base<>::value_type
#include "arith_uint256.h" // for UintToArith256, arith_uint256, operator<, base_uint
#include "chainparamsbase.h" // for CBaseChainParams, CreateBaseChainParams, SetupChainParamsBaseOptions, CBaseChainParams::MAIN, CBaseChainParams::TESTNET
#include "clientversion.h" // for CLIENT_VERSION, FormatFullVersion, FormatSubVersion, CLIENT_NAME
#include "coins.h" // for CCoinsViewCache, CCoinsViewBacked, CCoinsView (ptr only), Coin (ptr only)
#include "consensus/params.h" // for Params, BIP9Deployment, DEPLOYMENT_SEGWIT, DeploymentPos, MAX_VERSION_BITS_DEPLOYMENTS
#include "crypto/sha256.h" // for SHA256AutoDetect
#include "logging.h" // for LogPrintf, Logger, g_logger, ListLogCategories, DEFAULT_DEBUGLOGFILE, DEFAULT_LOGIPS, DEFAULT_LOGTIMEMICROS, DEFAULT_LOGTIMESTAMPS, LogPrint, RPC, fLogIPs
#include "netaddress.h" // for CService, CSubNet, Network, NET_ONION, NET_IPV4, NET_IPV6, NET_MAX, NET_UNROUTABLE
#include "protocol.h" // for ServiceFlags, NODE_NETWORK, NODE_BLOOM, NODE_NETWORK_LIMITED, NODE_WITNESS
#include "pubkey.h" // for ECCVerifyHandle
#include "random.h" // for GetRand, RandomInit, Random_SanityCheck
#include "serialize.h" // for SER_DISK
#include "streams.h" // for CAutoFile
#include "sync.h" // for CConditionVariable, CWaitableCriticalSection, LOCK, CCriticalBlock, WaitableLock, CCriticalSection, TRY_LOCK
#include "tinyformat.h" // for strprintf, format_error
#include "uint256.h" // for uint256, uint256S
#include "utilstrencodings.h" // for ParseInt64, IsHexNumber, SanitizeString, atoi, SAFE_CHARS_UA_COMMENT
#include "utiltime.h" // for GetTimeMillis, FormatISO8601DateTime, GetTime, SetMockTime
#include "versionbits.h" // for VBDeploymentInfo, VersionBitsDeploymentInfo
class COutPoint;
---
make[2]: *** [libbitcoin_server_a-init.o] Error 71
CXX rpc/libbitcoin_server_a-misc.o
net.h should add these lines:
#include <assert.h> // for assert
#include <stddef.h> // for size_t
#include <algorithm> // for min
#include <functional> // for function
#include <list> // for list
#include <map> // for map, map<>::value_compare, multimap
#include <set> // for set
#include <string> // for string
#include <vector> // for vector, __vector_base<>::value_type
#include "config/bitcoin-config.h" // for USE_UPNP
#include "threadsafety.h" // for GUARDED_BY
net.h should remove these lines:
- #include <arpa/inet.h> // lines 33-33
- #include <policy/feerate.h> // lines 17-17
- #include <condition_variable> // lines 30-30
The full include-list for net.h:
#include <addrdb.h> // for banmap_t, BanReason
#include <addrman.h> // for CAddrMan
#include <amount.h> // for CAmount
#include <assert.h> // for assert
#include <bloom.h> // for CRollingBloomFilter
#include <compat.h> // for SOCKET
#include <hash.h> // for CHash256, CSipHasher
#include <limitedmap.h> // for limitedmap
#include <netaddress.h> // for CSubNet, CService, Network, CNetAddr
#include <protocol.h> // for CAddress, ServiceFlags, CInv, CMessageHeader, CMessageHeader::MessageStartChars, MSG_BLOCK, MSG_TX, NODE_NONE
#include <random.h> // for FastRandomContext
#include <stddef.h> // for size_t
#include <stdint.h> // for uint64_t, int64_t
#include <streams.h> // for CDataStream
#include <sync.h> // for CCriticalSection, LOCK, CSemaphoreGrant
#include <threadinterrupt.h> // for CThreadInterrupt
#include <uint256.h> // for uint256, operator<
#include <algorithm> // for min
#include <atomic> // for atomic, atomic_bool, __atomic_base
#include <deque> // for deque
#include <functional> // for function
#include <list> // for list
#include <map> // for map, map<>::value_compare, multimap
#include <memory> // for unique_ptr
#include <set> // for set
#include <string> // for string
#include <thread> // for thread, condition_variable, mutex
#include <vector> // for vector, __vector_base<>::value_type
#include "config/bitcoin-config.h" // for USE_UPNP
#include "threadsafety.h" // for GUARDED_BY
class CClientUIInterface; // lines 97-97
class CNode; // lines 38-38
class CNodeStats; // lines 96-96
class CScheduler; // lines 37-37
class NetEventsInterface; // lines 112-112
---
net.cpp should add these lines:
#include <arpa/inet.h> // for socklen_t
#include <ifaddrs.h> // for ifaddrs, freeifaddrs, getifaddrs
#include <miniupnpc/igd_desc_parse.h> // for IGDdatas, IGDdatas_service
#include <miniupnpc/upnpdev.h> // for freeUPNPDevlist
#include <net/if.h> // for IFF_UP
#include <netinet/in.h> // for IPV6_V6ONLY, in6_addr, in_addr, INADDR_ANY, IPPROTO_IPV6, in6addr_any, sockaddr_in, sockaddr_in6
#include <sys/select.h> // for fd_set, FD_SET, FD_ZERO, FD_ISSET, timeval, select
#include <sys/socket.h> // for setsockopt, sockaddr_storage, MSG_DONTWAIT, accept, bind, getsockname, listen, recv, send, sockaddr, AF_INET, AF_INET6, SOL_SOCKET, SOMAXCONN, SO_REUSEADDR
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/thread/exceptions.hpp> // for thread_interrupted
#include <chrono> // for duration, milliseconds, operator+, steady_clock, seconds, minutes, steady_clock::time_point
#include <condition_variable> // for mutex, condition_variable, lock_guard, unique_lock
#include <cstdint> // for int64_t, uint64_t
#include <exception> // for exception
#include <iterator> // for back_insert_iterator, back_inserter
#include <limits> // for numeric_limits
#include <type_traits> // for move
#include <utility> // for pair, make_pair, __make_pair_return<>::type
#include "addrdb.h" // for banmap_t, CBanEntry, CAddrDB, CBanDB, BanReason, BanReasonManuallyAdded
#include "addrman.h" // for CAddrMan, CAddrInfo
#include "bloom.h" // for CBloomFilter, CRollingBloomFilter
#include "compat.h" // for INVALID_SOCKET, WSAGetLastError, SOCKET, IsSelectableSocket, SOCKET_ERROR, WSAEWOULDBLOCK, WSAEINPROGRESS, WSAEINTR, WSAEMSGSIZE, sockopt_arg_type, WSAEADDRINUSE
#include "hash.h" // for CSipHasher, Hash, CHash256
#include "limitedmap.h" // for limitedmap, limitedmap<>::const_iterator
#include "logging.h" // for LogPrintf, LogPrint, NET, fLogIPs
#include "netaddress.h" // for CService, CNetAddr, CSubNet, operator<, operator==, Network, NET_INTERNAL, NET_MAX, NET_UNROUTABLE
#include "protocol.h" // for CAddress, CInv, CMessageHeader, HasAllDesirableServiceFlags, ServiceFlags, GetDesirableServiceFlags, NODE_NONE, CMessageHeader::HEADER_SIZE, MayHaveUsefulAddressDB, getAllNetMessageTypes, CMessageHeader::CHECKSUM_SIZE
#include "random.h" // for GetRand, GetRandInt, FastRandomContext
#include "serialize.h" // for SER_NETWORK, MAX_SIZE
#include "streams.h" // for CDataStream, CVectorWriter
#include "sync.h" // for LOCK, CSemaphore, CSemaphoreGrant, CCriticalBlock, TRY_LOCK, CCriticalSection
#include "threadinterrupt.h" // for CThreadInterrupt
#include "timedata.h" // for GetAdjustedTime
#include "tinyformat.h" // for format_error, strprintf
#include "uint256.h" // for uint256, operator<
#include "util.h" // for _, TraceThread, MakeUnique, error, ArgsManager, gArgs
#include "utiltime.h" // for GetTime, GetTimeMillis, GetTimeMicros, GetSystemTimeInSeconds, FormatISO8601Time
#include "version.h" // for INIT_PROTO_VERSION, BIP0031_VERSION
net.cpp should remove these lines:
- #include <crypto/common.h> // lines 15-15
- #include <crypto/sha256.h> // lines 16-16
- #include <fcntl.h> // lines 26-26
- #include <miniupnpc/miniwget.h> // lines 32-32
- #include <primitives/transaction.h> // lines 17-17
The full include-list for net.cpp:
#include <net.h>
#include <arpa/inet.h> // for socklen_t
#include <chainparams.h> // for Params, CChainParams, SeedSpec6
#include <clientversion.h> // for FormatFullVersion
#include <config/bitcoin-config.h> // for USE_UPNP, PACKAGE_NAME
#include <consensus/consensus.h> // for MAX_BLOCK_SERIALIZED_SIZE
#include <ifaddrs.h> // for ifaddrs, freeifaddrs, getifaddrs
#include <math.h> // for log1p
#include <miniupnpc/igd_desc_parse.h> // for IGDdatas, IGDdatas_service
#include <miniupnpc/miniupnpc.h> // for FreeUPNPUrls, UPNPUrls, UPNP_GetValidIGD, upnpDiscover, UPNPDISCOVER_SUCCESS, MINIUPNPC_API_VERSION
#include <miniupnpc/upnpcommands.h> // for UPNP_AddPortMapping, UPNP_DeletePortMapping, UPNP_GetExternalIPAddress, UPNPCOMMAND_SUCCESS
#include <miniupnpc/upnpdev.h> // for freeUPNPDevlist
#include <miniupnpc/upnperrors.h> // for strupnperror
#include <net/if.h> // for IFF_UP
#include <netbase.h> // for NetworkErrorString, CloseSocket, CreateSocket, ConnectThroughProxy, HaveNameProxy, InterruptSocks5, LookupHost, LookupNumeric, ConnectSocketDirectly, GetNameProxy, GetProxy, Lookup, SetSocketNoDelay, nConnectTimeout, proxyType, fNameLo...
#include <netinet/in.h> // for IPV6_V6ONLY, in6_addr, in_addr, INADDR_ANY, IPPROTO_IPV6, in6addr_any, sockaddr_in, sockaddr_in6
#include <scheduler.h> // for CScheduler
#include <sys/select.h> // for fd_set, FD_SET, FD_ZERO, FD_ISSET, timeval, select
#include <sys/socket.h> // for setsockopt, sockaddr_storage, MSG_DONTWAIT, accept, bind, getsockname, listen, recv, send, sockaddr, AF_INET, AF_INET6, SOL_SOCKET, SOMAXCONN, SO_REUSEADDR
#include <ui_interface.h> // for CClientUIInterface, CClientUIInterface::MSG_ERROR, uiInterface
#include <utilstrencodings.h> // for SanitizeString, SplitHostPort
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/thread/exceptions.hpp> // for thread_interrupted
#include <chrono> // for duration, milliseconds, operator+, steady_clock, seconds, minutes, steady_clock::time_point
#include <condition_variable> // for mutex, condition_variable, lock_guard, unique_lock
#include <cstdint> // for int64_t, uint64_t
#include <cstring> // for memcpy, size_t, strcmp
#include <exception> // for exception
#include <iterator> // for back_insert_iterator, back_inserter
#include <limits> // for numeric_limits
#include <type_traits> // for move
#include <utility> // for pair, make_pair, __make_pair_return<>::type
#include "addrdb.h" // for banmap_t, CBanEntry, CAddrDB, CBanDB, BanReason, BanReasonManuallyAdded
#include "addrman.h" // for CAddrMan, CAddrInfo
#include "bloom.h" // for CBloomFilter, CRollingBloomFilter
#include "compat.h" // for INVALID_SOCKET, WSAGetLastError, SOCKET, IsSelectableSocket, SOCKET_ERROR, WSAEWOULDBLOCK, WSAEINPROGRESS, WSAEINTR, WSAEMSGSIZE, sockopt_arg_type, WSAEADDRINUSE
#include "hash.h" // for CSipHasher, Hash, CHash256
#include "limitedmap.h" // for limitedmap, limitedmap<>::const_iterator
#include "logging.h" // for LogPrintf, LogPrint, NET, fLogIPs
#include "netaddress.h" // for CService, CNetAddr, CSubNet, operator<, operator==, Network, NET_INTERNAL, NET_MAX, NET_UNROUTABLE
#include "protocol.h" // for CAddress, CInv, CMessageHeader, HasAllDesirableServiceFlags, ServiceFlags, GetDesirableServiceFlags, NODE_NONE, CMessageHeader::HEADER_SIZE, MayHaveUsefulAddressDB, getAllNetMessageTypes, CMessageHeader::CHECKSUM_SIZE
#include "random.h" // for GetRand, GetRandInt, FastRandomContext
#include "serialize.h" // for SER_NETWORK, MAX_SIZE
#include "streams.h" // for CDataStream, CVectorWriter
#include "sync.h" // for LOCK, CSemaphore, CSemaphoreGrant, CCriticalBlock, TRY_LOCK, CCriticalSection
#include "threadinterrupt.h" // for CThreadInterrupt
#include "timedata.h" // for GetAdjustedTime
#include "tinyformat.h" // for format_error, strprintf
#include "uint256.h" // for uint256, operator<
#include "util.h" // for _, TraceThread, MakeUnique, error, ArgsManager, gArgs
#include "utiltime.h" // for GetTime, GetTimeMillis, GetTimeMicros, GetSystemTimeInSeconds, FormatISO8601Time
#include "version.h" // for INIT_PROTO_VERSION, BIP0031_VERSION
---
make[2]: *** [libbitcoin_server_a-net.o] Error 61
CXX rpc/libbitcoin_server_a-net.o
policy/rbf.h should add these lines:
#include <stdint.h> // for uint32_t
#include "primitives/transaction.h" // for CTransaction
#include "threadsafety.h" // for EXCLUSIVE_LOCKS_REQUIRED
The full include-list for policy/rbf.h:
#include <stdint.h> // for uint32_t
#include <txmempool.h> // for CTxMemPool
#include "primitives/transaction.h" // for CTransaction
#include "threadsafety.h" // for EXCLUSIVE_LOCKS_REQUIRED
---
policy/rbf.cpp should add these lines:
#include <boost/multi_index/detail/hash_index_iterator.hpp> // for hashed_index_iterator
#include <boost/operators.hpp> // for dereferenceable
#include <limits> // for numeric_limits
#include <string> // for string
#include <vector> // for vector
#include "sync.h" // for AssertLockHeld
#include "txmempool.h" // for CTxMemPool, CTxMemPool::indexed_transaction_set, CTxMemPool::setEntries, CTxMemPool::txiter, CTxMemPoolEntry
#include "uint256.h" // for operator==, uint256
The full include-list for policy/rbf.cpp:
#include <policy/rbf.h>
#include <boost/multi_index/detail/hash_index_iterator.hpp> // for hashed_index_iterator
#include <boost/operators.hpp> // for dereferenceable
#include <limits> // for numeric_limits
#include <string> // for string
#include <vector> // for vector
#include "sync.h" // for AssertLockHeld
#include "txmempool.h" // for CTxMemPool, CTxMemPool::indexed_transaction_set, CTxMemPool::setEntries, CTxMemPool::txiter, CTxMemPoolEntry
#include "uint256.h" // for operator==, uint256
---
make[2]: *** [policy/libbitcoin_server_a-rbf.o] Error 13
CXX rpc/libbitcoin_server_a-rawtransaction.o
net_processing.h should add these lines:
#include <stdint.h> // for int64_t, int32_t
#include <atomic> // for atomic
#include <memory> // for shared_ptr
#include <string> // for string
#include <vector> // for vector
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CTransactionRef
#include "threadsafety.h" // for EXCLUSIVE_LOCKS_REQUIRED
class CBlockIndex;
class CScheduler;
class CValidationState;
namespace Consensus { struct Params; }
net_processing.h should remove these lines:
- #include <consensus/params.h> // lines 11-11
The full include-list for net_processing.h:
#include <net.h> // for NodeId, CNode, NetEventsInterface
#include <stdint.h> // for int64_t, int32_t
#include <validationinterface.h> // for CValidationInterface
#include <atomic> // for atomic
#include <memory> // for shared_ptr
#include <string> // for string
#include <vector> // for vector
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CTransactionRef
#include "threadsafety.h" // for EXCLUSIVE_LOCKS_REQUIRED
class CBlockIndex;
class CScheduler;
class CValidationState;
namespace Consensus { struct Params; }
---
net_processing.cpp should add these lines:
#include <assert.h> // for assert
#include <algorithm> // for min, max, copy, make_heap, pop_heap
#include <array> // for array<>::iterator, array, array<>::value_type
#include <cstdint> // for int64_t, uint16_t, uint64_t, uint8_t, uint32_t
#include <deque> // for deque, operator!=, deque<>::iterator, __deque_iterator
#include <exception> // for exception
#include <functional> // for __base, __bind, bind
#include <limits> // for numeric_limits
#include <list> // for list, list<>::iterator, __list_iterator, operator!=, operator==
#include <map> // for __tree_const_iterator, map, __map_iterator, operator!=, map<>::iterator, operator==, __tree_const_iterator<>::__non_const_iterator, multimap, __tree_const_iterator<>::value_type, __tree_key_value_types<>::__map_value_type, map<>::value_compare
#include <ostream> // for ios_base::failure, operator<<, basic_ostream, ostringstream, ios_base
#include <set> // for set<>::iterator, set
#include <tuple> // for forward_as_tuple
#include <type_traits> // for remove_reference<>::type, move
#include <utility> // for pair, make_pair, __make_pair_return<>::type, piecewise_construct
#include "addrdb.h" // for BanReasonNodeMisbehaving
#include "amount.h" // for CAmount, MoneyRange
#include "bloom.h" // for CRollingBloomFilter, CBloomFilter
#include "chain.h" // for CBlockIndex, CChain, BLOCK_HAVE_DATA, BLOCK_VALID_TREE, GetBlockProofEquivalentTime, LastCommonAncestor, BLOCK_VALID_SCRIPTS, BLOCK_VALID_CHAIN, BLOCK_VALID_TRANSACTIONS
#include "coins.h" // for CCoinsViewCache
#include "consensus/params.h" // for Params
#include "core_memusage.h" // for RecursiveDynamicUsage
#include "limitedmap.h" // for limitedmap
#include "logging.h" // for LogPrint, NET, LogPrintf, MEMPOOL, fLogIPs, LogAcceptCategory, MEMPOOLREJ
#include "net.h" // for CNode, CConnman, NodeId, CNetMessage, PoissonNextSend, MAX_INV_SZ, AdvertiseLocal, GetLocalAddress, IsPeerAddrLocalGood, IsReachable, SeenLocal, fRelayTxes, MAX_SUBVERSION_LENGTH, PING_INTERVAL, fListen, mapAlreadyAskedFor, strSubVersion
#include "netaddress.h" // for CService
#include "policy/feerate.h" // for CFeeRate
#include "protocol.h" // for CInv, CAddress, CMessageHeader, MSG_BLOCK, GetDesirableServiceFlags, MSG_TX, GETDATA, BLOCK, CMPCTBLOCK, GETHEADERS, REJECT, HasAllDesirableServiceFlags, INV, NODE_WITNESS, ServiceFlags, CMessageHeader::CHECKSUM_SIZE, MSG_WITNESS_BLOCK, SENDCMPCT, TX
#include "script/script.h" // for MAX_SCRIPT_ELEMENT_SIZE
#include "serialize.h" // for LimitedString, ReadCompactSize, LIMITED_STRING, SER_NETWORK
#include "span.h" // for MakeSpan
#include "streams.h" // for CDataStream
#include "sync.h" // for LOCK, AssertLockHeld, CCriticalBlock, CCriticalSection, LOCK2, AssertLockNotHeld, TRY_LOCK
#include "timedata.h" // for GetAdjustedTime, AddTimeData
#include "uint256.h" // for uint256, operator<, operator==, base_blob, operator!=
#include "utiltime.h" // for GetTime, GetTimeMicros
#include "validationinterface.h" // for GetMainSignals, CMainSignals
#include "version.h" // for PROTOCOL_VERSION, INIT_PROTO_VERSION, CADDR_TIME_VERSION, BIP0031_VERSION, MIN_PEER_PROTO_VERSION, FEEFILTER_VERSION, INVALID_CB_NO_BAN_VERSION, NO_BLOOM_VERSION, SENDHEADERS_VERSION, SHORT_IDS_BLOCKS_VERSION
net_processing.cpp should remove these lines:
- #include <addrman.h> // lines 8-8
- #include <ui_interface.h> // lines 27-27
- #include <utilmoneystr.h> // lines 29-29
The full include-list for net_processing.cpp:
#include <net_processing.h>
#include <arith_uint256.h> // for arith_uint256, operator>=, base_uint, operator>, operator<, operator<=
#include <assert.h> // for assert
#include <blockencodings.h> // for CBlockHeaderAndShortTxIDs, PartiallyDownloadedBlock, BlockTransactions, BlockTransactionsRequest, ReadStatus, READ_STATUS_FAILED, READ_STATUS_INVALID, READ_STATUS_OK
#include <chainparams.h> // for Params, CChainParams
#include <consensus/validation.h> // for CValidationState, GetTransactionWeight, REJECT_DUPLICATE, REJECT_MALFORMED, REJECT_NONSTANDARD, REJECT_OBSOLETE
#include <hash.h> // for CSipHasher
#include <merkleblock.h> // for CMerkleBlock
#include <netbase.h> // for IsProxy
#include <netmessagemaker.h> // for CNetMsgMaker
#include <policy/fees.h> // for FeeFilterRounder
#include <policy/policy.h> // for DEFAULT_MAX_MEMPOOL_SIZE, MAX_STANDARD_TX_WEIGHT
#include <primitives/block.h> // for CBlock, CBlockHeader, CBlockLocator
#include <primitives/transaction.h> // for CTransactionRef, CTransaction, COutPoint, SERIALIZE_TRANSACTION_NO_WITNESS, CTxIn, operator<
#include <random.h> // for FastRandomContext, GetRand, GetRandBytes, GetRandHash, GetRandInt
#include <reverse_iterator.h> // for reverse_iterate, reverse_range
#include <scheduler.h> // for CScheduler
#include <tinyformat.h> // for strprintf
#include <txmempool.h> // for CTxMemPool, TxMempoolInfo
#include <util.h> // for ArgsManager, gArgs, PrintExceptionContinue
#include <utilstrencodings.h> // for SanitizeString, HexStr, ParseHex, itostr
#include <validation.h> // for cs_main, LookupBlockIndex, chainActive, IsInitialBlockDownload, FormatStateMessage, pindexBestHeader, mempool, IsWitnessEnabled, ProcessNewBlock, ReadBlockFromDisk, fImporting, fReindex, AcceptToMemoryPool, ActivateBestChain, FindForkInGlobalIndex, Pro...
#include <algorithm> // for min, max, copy, make_heap, pop_heap
#include <array> // for array<>::iterator, array, array<>::value_type
#include <cstdint> // for int64_t, uint16_t, uint64_t, uint8_t, uint32_t
#include <cstring> // for strstr, size_t, memcmp
#include <deque> // for deque, operator!=, deque<>::iterator, __deque_iterator
#include <exception> // for exception
#include <functional> // for __base, __bind, bind
#include <limits> // for numeric_limits
#include <list> // for list, list<>::iterator, __list_iterator, operator!=, operator==
#include <map> // for __tree_const_iterator, map, __map_iterator, operator!=, map<>::iterator, operator==, __tree_const_iterator<>::__non_const_iterator, multimap, __tree_const_iterator<>::value_type, __tree_key_value_types<>::__map_value_type, map<>::value_compare
#include <memory> // for shared_ptr, unique_ptr, make_shared, shared_ptr<>::element_type
#include <ostream> // for ios_base::failure, operator<<, basic_ostream, ostringstream, ios_base
#include <set> // for set<>::iterator, set
#include <tuple> // for forward_as_tuple
#include <type_traits> // for remove_reference<>::type, move
#include <utility> // for pair, make_pair, __make_pair_return<>::type, piecewise_construct
#include "addrdb.h" // for BanReasonNodeMisbehaving
#include "amount.h" // for CAmount, MoneyRange
#include "bloom.h" // for CRollingBloomFilter, CBloomFilter
#include "chain.h" // for CBlockIndex, CChain, BLOCK_HAVE_DATA, BLOCK_VALID_TREE, GetBlockProofEquivalentTime, LastCommonAncestor, BLOCK_VALID_SCRIPTS, BLOCK_VALID_CHAIN, BLOCK_VALID_TRANSACTIONS
#include "coins.h" // for CCoinsViewCache
#include "consensus/params.h" // for Params
#include "core_memusage.h" // for RecursiveDynamicUsage
#include "limitedmap.h" // for limitedmap
#include "logging.h" // for LogPrint, NET, LogPrintf, MEMPOOL, fLogIPs, LogAcceptCategory, MEMPOOLREJ
#include "net.h" // for CNode, CConnman, NodeId, CNetMessage, PoissonNextSend, MAX_INV_SZ, AdvertiseLocal, GetLocalAddress, IsPeerAddrLocalGood, IsReachable, SeenLocal, fRelayTxes, MAX_SUBVERSION_LENGTH, PING_INTERVAL, fListen, mapAlreadyAskedFor, strSubVersion
#include "netaddress.h" // for CService
#include "policy/feerate.h" // for CFeeRate
#include "protocol.h" // for CInv, CAddress, CMessageHeader, MSG_BLOCK, GetDesirableServiceFlags, MSG_TX, GETDATA, BLOCK, CMPCTBLOCK, GETHEADERS, REJECT, HasAllDesirableServiceFlags, INV, NODE_WITNESS, ServiceFlags, CMessageHeader::CHECKSUM_SIZE, MSG_WITNESS_BLOCK, SENDCMPCT, TX
#include "script/script.h" // for MAX_SCRIPT_ELEMENT_SIZE
#include "serialize.h" // for LimitedString, ReadCompactSize, LIMITED_STRING, SER_NETWORK
#include "span.h" // for MakeSpan
#include "streams.h" // for CDataStream
#include "sync.h" // for LOCK, AssertLockHeld, CCriticalBlock, CCriticalSection, LOCK2, AssertLockNotHeld, TRY_LOCK
#include "timedata.h" // for GetAdjustedTime, AddTimeData
#include "uint256.h" // for uint256, operator<, operator==, base_blob, operator!=
#include "utiltime.h" // for GetTime, GetTimeMicros
#include "validationinterface.h" // for GetMainSignals, CMainSignals
#include "version.h" // for PROTOCOL_VERSION, INIT_PROTO_VERSION, CADDR_TIME_VERSION, BIP0031_VERSION, MIN_PEER_PROTO_VERSION, FEEFILTER_VERSION, INVALID_CB_NO_BAN_VERSION, NO_BLOOM_VERSION, SENDHEADERS_VERSION, SHORT_IDS_BLOCKS_VERSION
---
make[2]: *** [libbitcoin_server_a-net_processing.o] Error 56
CXX rpc/libbitcoin_server_a-server.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 76259 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -I/usr/local/Cellar/libevent/2.1.8/include -D_THREAD_SAFE -I/usr/local/Cellar/libevent/2.1.8/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT rpc/libbitcoin_server_a-mining.o -MD -MP -MF rpc/.deps/libbitcoin_server_a-mining.Tpo -c -o rpc/libbitcoin_server_a-mining.o `test -f 'rpc/mining.cpp' || echo './'`rpc/mining.cpp
make[2]: *** [rpc/libbitcoin_server_a-mining.o] Error 134
CXX rpc/libbitcoin_server_a-util.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 76262 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -I/usr/local/Cellar/libevent/2.1.8/include -D_THREAD_SAFE -I/usr/local/Cellar/libevent/2.1.8/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT rpc/libbitcoin_server_a-misc.o -MD -MP -MF rpc/.deps/libbitcoin_server_a-misc.Tpo -c -o rpc/libbitcoin_server_a-misc.o `test -f 'rpc/misc.cpp' || echo './'`rpc/misc.cpp
make[2]: *** [rpc/libbitcoin_server_a-misc.o] Error 134
CXX script/libbitcoin_server_a-sigcache.o
rest.cpp should add these lines:
#include <stdint.h> // for uint32_t, int32_t, uint8_t
#include <stdlib.h> // for strtol
#include <boost/algorithm/string/classification.hpp> // for is_any_of
#include <boost/algorithm/string/detail/classification.hpp> // for is_any_ofF
#include <boost/algorithm/string/split.hpp> // for split
#include <boost/iterator/iterator_facade.hpp> // for operator!=
#include <boost/type_index/type_index_facade.hpp> // for operator==
#include <functional> // for __base
#include <ios> // for ios_base, ios_base::failure
#include <memory> // for allocator, unique_ptr, shared_ptr
#include <string> // for string, operator+, operator==, basic_string, char_traits
#include <type_traits> // for move
#include <vector> // for vector, __vector_base<>::value_type, __bit_reference, vector<>::reference
#include "coins.h" // for Coin, CCoinsViewCache, CCoinsView
#include "rpc/protocol.h" // for HTTP_OK, HTTP_BAD_REQUEST, HTTP_NOT_FOUND, HTTPStatusCode, HTTP_SERVICE_UNAVAILABLE
#include "serialize.h" // for SER_NETWORK, READWRITE, ADD_SERIALIZE_METHODS
#include "tinyformat.h" // for strprintf
#include "uint256.h" // for uint256
rest.cpp should remove these lines:
- #include <boost/algorithm/string.hpp> // lines 22-22
The full include-list for rest.cpp:
#include <chain.h> // for CChain, CBlockIndex
#include <chainparams.h> // for Params, CChainParams
#include <core_io.h> // for ScriptPubKeyToUniv, TxToUniv, ValueFromAmount
#include <httpserver.h> // for HTTPRequest, RegisterHTTPHandler, UnregisterHTTPHandler
#include <index/txindex.h> // for TxIndex, g_txindex
#include <primitives/block.h> // for CBlock, CBlockHeader
#include <primitives/transaction.h> // for COutPoint, CTransactionRef, CTxOut
#include <rpc/blockchain.h> // for blockToJSON, blockheaderToJSON, mempoolInfoToJSON, mempoolToJSON
#include <rpc/server.h> // for RPCSerializationFlags, RPCIsInWarmup, JSONRPCRequest
#include <stdint.h> // for uint32_t, int32_t, uint8_t
#include <stdlib.h> // for strtol
#include <streams.h> // for CDataStream
#include <sync.h> // for LOCK, LOCK2
#include <txmempool.h> // for CTxMemPool, CCoinsViewMemPool
#include <univalue.h> // for UniValue, UniValue::VOBJ, UniValue::VARR
#include <utilstrencodings.h> // for HexStr, IsHex, ARRAYLEN, ParseHex, ParseInt32
#include <validation.h> // for chainActive, LookupBlockIndex, cs_main, GetTransaction, IsBlockPruned, ReadBlockFromDisk, mempool, pcoinsTip
#include <version.h> // for PROTOCOL_VERSION
#include <boost/algorithm/string/classification.hpp> // for is_any_of
#include <boost/algorithm/string/detail/classification.hpp> // for is_any_ofF
#include <boost/algorithm/string/split.hpp> // for split
#include <boost/iterator/iterator_facade.hpp> // for operator!=
#include <boost/type_index/type_index_facade.hpp> // for operator==
#include <cstring> // for size_t, strlen
#include <functional> // for __base
#include <ios> // for ios_base, ios_base::failure
#include <memory> // for allocator, unique_ptr, shared_ptr
#include <string> // for string, operator+, operator==, basic_string, char_traits
#include <type_traits> // for move
#include <vector> // for vector, __vector_base<>::value_type, __bit_reference, vector<>::reference
#include "coins.h" // for Coin, CCoinsViewCache, CCoinsView
#include "rpc/protocol.h" // for HTTP_OK, HTTP_BAD_REQUEST, HTTP_NOT_FOUND, HTTPStatusCode, HTTP_SERVICE_UNAVAILABLE
#include "serialize.h" // for SER_NETWORK, READWRITE, ADD_SERIALIZE_METHODS
#include "tinyformat.h" // for strprintf
#include "uint256.h" // for uint256
---
make[2]: *** [libbitcoin_server_a-rest.o] Error 21
CXX libbitcoin_server_a-shutdown.o
(shutdown.h has correct #includes/fwd-decls)
(shutdown.cpp has correct #includes/fwd-decls)
make[2]: *** [libbitcoin_server_a-shutdown.o] Error 2
CXX libbitcoin_server_a-timedata.o
rpc/net.cpp should add these lines:
#include <stdint.h> // for int64_t
#include <atomic> // for atomic
#include <limits> // for numeric_limits
#include <map> // for map<>::value_type, map
#include <memory> // for unique_ptr, allocator
#include <stdexcept> // for runtime_error
#include <string> // for string, operator+, basic_string, operator==, operator!=
#include <utility> // for pair
#include <vector> // for vector
#include "addrdb.h" // for CBanEntry, BanReasonManuallyAdded, banmap_t
#include "netaddress.h" // for CNetAddr, CSubNet, CService, Network, NET_INTERNAL, NET_MAX, NET_UNROUTABLE
#include "policy/feerate.h" // for CFeeRate, CURRENCY_UNIT
#include "protocol.h" // for CAddress
#include "tinyformat.h" // for strprintf
#include "utiltime.h" // for GetTimeMillis
rpc/net.cpp should remove these lines:
- #include <chainparams.h> // lines 7-7
- #include <ui_interface.h> // lines 18-18
- #include <util.h> // lines 19-19
The full include-list for rpc/net.cpp:
#include <clientversion.h> // for CLIENT_VERSION
#include <core_io.h> // for ValueFromAmount
#include <net.h> // for g_connman, CNodeStats, CConnman, AddedNodeInfo, mapMsgCmdSize, IsLimited, IsReachable, CConnman::CONNECTIONS_ALL, LocalServiceInfo, NodeId, CNode, cs_mapLocalHost, fRelayTxes, mapLocalHost, strSubVersion
#include <net_processing.h> // for CNodeStateStats, GetNodeStateStats
#include <netbase.h> // for proxyType, GetNetworkName, GetProxy, LookupHost, LookupSubNet
#include <policy/policy.h> // for incrementalRelayFee
#include <rpc/protocol.h> // for JSONRPCError, RPC_CLIENT_P2P_DISABLED, RPC_CLIENT_INVALID_IP_OR_SUBNET, RPC_CLIENT_NODE_ALREADY_ADDED, RPC_CLIENT_NODE_NOT_ADDED, RPC_CLIENT_NODE_NOT_CONNECTED, RPC_INVALID_PARAMS
#include <rpc/server.h> // for JSONRPCRequest, HelpExampleCli, HelpExampleRpc, CRPCCommand, CRPCTable
#include <stdint.h> // for int64_t
#include <sync.h> // for LOCK
#include <timedata.h> // for GetTimeOffset
#include <univalue.h> // for UniValue, UniValue::VOBJ, UniValue::VARR, NullUniValue
#include <utilstrencodings.h> // for ARRAYLEN
#include <validation.h> // for cs_main, minRelayTxFee
#include <version.h> // for PROTOCOL_VERSION
#include <warnings.h> // for GetWarnings
#include <atomic> // for atomic
#include <limits> // for numeric_limits
#include <map> // for map<>::value_type, map
#include <memory> // for unique_ptr, allocator
#include <stdexcept> // for runtime_error
#include <string> // for string, operator+, basic_string, operator==, operator!=
#include <utility> // for pair
#include <vector> // for vector
#include "addrdb.h" // for CBanEntry, BanReasonManuallyAdded, banmap_t
#include "netaddress.h" // for CNetAddr, CSubNet, CService, Network, NET_INTERNAL, NET_MAX, NET_UNROUTABLE
#include "policy/feerate.h" // for CFeeRate, CURRENCY_UNIT
#include "protocol.h" // for CAddress
#include "tinyformat.h" // for strprintf
#include "utiltime.h" // for GetTimeMillis
---
make[2]: *** [rpc/libbitcoin_server_a-net.o] Error 20
CXX libbitcoin_server_a-torcontrol.o
(rpc/blockchain.h has correct #includes/fwd-decls)
rpc/blockchain.cpp should add these lines:
#include <assert.h> // for assert
#include <stddef.h> // for size_t
#include <algorithm> // for max, min, sort
#include <atomic> // for atomic_bool
#include <boost/multi_index/detail/hash_index_iterator.hpp> // for operator==, hashed_index_iterator
#include <boost/operators.hpp> // for dereferenceable
#include <boost/thread/detail/thread.hpp> // for interruption_point
#include <chrono> // for milliseconds
#include <cstdint> // for int64_t, uint64_t, uint32_t
#include <iosfwd> // for vector
#include <limits> // for numeric_limits
#include <map> // for map, operator!=, __map_const_iterator, __tree_const_iterator, map<>::mapped_type
#include <set> // for set, set<>::iterator
#include <stdexcept> // for runtime_error
#include <string> // for string, operator+, basic_string
#include <type_traits> // for move
#include <utility> // for pair
#include <vector> // for vector
#include "arith_uint256.h" // for arith_uint256
#include "chain.h" // for CBlockIndex, CChain, BLOCK_FAILED_MASK, BLOCK_HAVE_DATA, BLOCK_VALID_SCRIPTS, BLOCK_VALID_TREE, TIMESTAMP_WINDOW
#include "consensus/consensus.h" // for MAX_BLOCK_SERIALIZED_SIZE, WITNESS_SCALE_FACTOR
#include "consensus/params.h" // for BIP9Deployment, Params, DeploymentPos, DEPLOYMENT_CSV, MAX_VERSION_BITS_DEPLOYMENTS
#include "logging.h" // for LogPrint, RPC
#include "primitives/block.h" // for CBlock, CBlockHeader
#include "rpc/protocol.h" // for JSONRPCError, RPC_INVALID_PARAMETER, RPC_INVALID_ADDRESS_OR_KEY, RPC_MISC_ERROR, RPC_DATABASE_ERROR, RPC_INTERNAL_ERROR
#include "script/script.h" // for CScript
#include "serialize.h" // for GetSerializeSize, CVarInt, SER_NETWORK, VARINT, SER_GETHASH, VarIntMode, VarIntMode::NONNEGATIVE_SIGNED
#include "threadsafety.h" // for EXCLUSIVE_LOCKS_REQUIRED
#include "tinyformat.h" // for strprintf, format_error
#include "uint256.h" // for uint256, uint256S, operator==, operator!=, base_blob
#include "version.h" // for PROTOCOL_VERSION
#include "versionbits.h" // for ThresholdState, BIP9Stats, ThresholdState::STARTED, VBDeploymentInfo, ThresholdState::ACTIVE, ThresholdState::DEFINED, ThresholdState::FAILED, ThresholdState::LOCKED_IN, VersionBitsDeploymentInfo
rpc/blockchain.cpp should remove these lines:
- #include <checkpoints.h> // lines 10-10
- #include <stdint.h> // lines 30-30
- #include <boost/algorithm/string.hpp> // lines 34-34
- #include <boost/thread/thread.hpp> // lines 35-35
- #include <condition_variable> // lines 39-39
The full include-list for rpc/blockchain.cpp:
#include <rpc/blockchain.h>
#include <amount.h> // for CAmount, MAX_MONEY, MoneyRange
#include <assert.h> // for assert
#include <chainparams.h> // for Params, CChainParams
#include <coins.h> // for Coin, CCoinsViewCursor, CCoinsViewCache, CCoinsView
#include <consensus/validation.h> // for CValidationState, GetBlockWeight, GetTransactionWeight
#include <core_io.h> // for ValueFromAmount, ScriptPubKeyToUniv, TxToUniv
#include <hash.h> // for CHashWriter
#include <index/txindex.h> // for g_txindex
#include <policy/feerate.h> // for CURRENCY_UNIT, CFeeRate, operator<
#include <policy/policy.h> // for DEFAULT_MAX_MEMPOOL_SIZE
#include <primitives/transaction.h> // for CTransaction, CTxOut, COutPoint, CTxIn, CTransactionRef, SERIALIZE_TRANSACTION_NO_WITNESS
#include <rpc/server.h> // for JSONRPCRequest, HelpExampleCli, HelpExampleRpc, IsRPCRunning, ParseHashV, RPCSerializationFlags, CRPCCommand, CRPCTable
#include <stddef.h> // for size_t
#include <streams.h> // for CDataStream
#include <sync.h> // for LOCK, AssertLockHeld
#include <txdb.h> // for CCoinsViewDB
#include <txmempool.h> // for CTxMemPool, CTxMemPoolEntry, CTxMemPool::indexed_transaction_set, CTxMemPool::txiter, CTxMemPool::setEntries, CCoinsViewMemPool, MEMPOOL_HEIGHT
#include <univalue.h> // for UniValue, UniValue::VOBJ, UniValue::VARR, NullUniValue
#include <util.h> // for ArgsManager, gArgs, error
#include <utilstrencodings.h> // for HexStr, ARRAYLEN
#include <validation.h> // for chainActive, LookupBlockIndex, mempool, cs_main, FormatStateMessage, ActivateBestChain, pcoinsTip, CalculateCurrentUsage, DumpMempool, FlushStateToDisk, GetBlockSubsidy, GetTransaction, GuessVerificationProgress, InvalidateBlock
#include <validationinterface.h> // for SyncWithValidationInterfaceQueue
#include <warnings.h> // for GetWarnings
#include <algorithm> // for max, min, sort
#include <atomic> // for atomic_bool
#include <boost/multi_index/detail/hash_index_iterator.hpp> // for operator==, hashed_index_iterator
#include <boost/operators.hpp> // for dereferenceable
#include <boost/thread/detail/thread.hpp> // for interruption_point
#include <chrono> // for milliseconds
#include <cstdint> // for int64_t, uint64_t, uint32_t
#include <iosfwd> // for vector
#include <limits> // for numeric_limits
#include <map> // for map, operator!=, __map_const_iterator, __tree_const_iterator, map<>::mapped_type
#include <memory> // for allocator, unique_ptr, shared_ptr
#include <mutex> // for condition_variable, mutex, unique_lock, lock_guard
#include <set> // for set, set<>::iterator
#include <stdexcept> // for runtime_error
#include <string> // for string, operator+, basic_string
#include <type_traits> // for move
#include <utility> // for pair
#include <vector> // for vector
#include "arith_uint256.h" // for arith_uint256
#include "chain.h" // for CBlockIndex, CChain, BLOCK_FAILED_MASK, BLOCK_HAVE_DATA, BLOCK_VALID_SCRIPTS, BLOCK_VALID_TREE, TIMESTAMP_WINDOW
#include "consensus/consensus.h" // for MAX_BLOCK_SERIALIZED_SIZE, WITNESS_SCALE_FACTOR
#include "consensus/params.h" // for BIP9Deployment, Params, DeploymentPos, DEPLOYMENT_CSV, MAX_VERSION_BITS_DEPLOYMENTS
#include "logging.h" // for LogPrint, RPC
#include "primitives/block.h" // for CBlock, CBlockHeader
#include "rpc/protocol.h" // for JSONRPCError, RPC_INVALID_PARAMETER, RPC_INVALID_ADDRESS_OR_KEY, RPC_MISC_ERROR, RPC_DATABASE_ERROR, RPC_INTERNAL_ERROR
#include "script/script.h" // for CScript
#include "serialize.h" // for GetSerializeSize, CVarInt, SER_NETWORK, VARINT, SER_GETHASH, VarIntMode, VarIntMode::NONNEGATIVE_SIGNED
#include "threadsafety.h" // for EXCLUSIVE_LOCKS_REQUIRED
#include "tinyformat.h" // for strprintf, format_error
#include "uint256.h" // for uint256, uint256S, operator==, operator!=, base_blob
#include "version.h" // for PROTOCOL_VERSION
#include "versionbits.h" // for ThresholdState, BIP9Stats, ThresholdState::STARTED, VBDeploymentInfo, ThresholdState::ACTIVE, ThresholdState::DEFINED, ThresholdState::FAILED, ThresholdState::LOCKED_IN, VersionBitsDeploymentInfo
---
make[2]: *** [rpc/libbitcoin_server_a-blockchain.o] Error 39
CXX libbitcoin_server_a-txdb.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 76274 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -I/usr/local/Cellar/libevent/2.1.8/include -D_THREAD_SAFE -I/usr/local/Cellar/libevent/2.1.8/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT rpc/libbitcoin_server_a-util.o -MD -MP -MF rpc/.deps/libbitcoin_server_a-util.Tpo -c -o rpc/libbitcoin_server_a-util.o `test -f 'rpc/util.cpp' || echo './'`rpc/util.cpp
make[2]: *** [rpc/libbitcoin_server_a-util.o] Error 134
CXX libbitcoin_server_a-txmempool.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 76271 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -I/usr/local/Cellar/libevent/2.1.8/include -D_THREAD_SAFE -I/usr/local/Cellar/libevent/2.1.8/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT rpc/libbitcoin_server_a-server.o -MD -MP -MF rpc/.deps/libbitcoin_server_a-server.Tpo -c -o rpc/libbitcoin_server_a-server.o `test -f 'rpc/server.cpp' || echo './'`rpc/server.cpp
make[2]: *** [rpc/libbitcoin_server_a-server.o] Error 134
CXX libbitcoin_server_a-ui_interface.o
(rpc/rawtransaction.h has correct #includes/fwd-decls)
rpc/rawtransaction.cpp should add these lines:
#include <stddef.h> // for size_t
#include <functional> // for __base
#include <limits> // for numeric_limits
#include <map> // for map
#include <memory> // for allocator, unique_ptr, shared_ptr
#include <set> // for set
#include <stdexcept> // for runtime_error
#include <string> // for string, operator+, basic_string, char_traits, operator==, operator!=
#include <type_traits> // for move
#include <utility> // for pair
#include <vector> // for vector, vector<>::const_iterator
#include "amount.h" // for CAmount
#include "chainparams.h" // for Params, CChainParams
#include "config/bitcoin-config.h" // for ENABLE_WALLET
#include "hash.h" // for Hash160
#include "key.h" // for CKey
#include "policy/feerate.h" // for CURRENCY_UNIT
#include "prevector.h" // for prevector<>::const_iterator, operator-, prevector
#include "primitives/block.h" // for CBlock, CBlockHeader
#include "protocol.h" // for CInv, MSG_TX
#include "pubkey.h" // for CPubKey
#include "rpc/protocol.h" // for JSONRPCError, RPC_INVALID_PARAMETER, RPC_DESERIALIZATION_ERROR, RPC_INVALID_ADDRESS_OR_KEY, RPC_INTERNAL_ERROR, RPC_TRANSACTION_ERROR, RPC_CLIENT_P2P_DISABLED, RPC_METHOD_DEPRECATED, RPC_MISC_ERROR, RPC_TRANSACTION_ALREADY_IN_CHAIN, RPC_TRANSACTION_REJ...
#include "script/interpreter.h" // for SIGHASH_ANYONECANPAY, SIGHASH_ALL, SIGHASH_SINGLE, SIGHASH_NONE, VerifyScript, TransactionSignatureChecker
#include "serialize.h" // for SER_NETWORK
#include "streams.h" // for CDataStream
#include "sync.h" // for LOCK, LOCK2
#include "tinyformat.h" // for strprintf
#include "version.h" // for PROTOCOL_VERSION
class CWallet;
The full include-list for rpc/rawtransaction.cpp:
#include <rpc/rawtransaction.h>
#include <chain.h> // for CBlockIndex, CChain, BLOCK_HAVE_DATA
#include <coins.h> // for CCoinsViewCache, Coin, AccessByTxid, CCoinsView
#include <consensus/validation.h> // for CValidationState
#include <core_io.h> // for DecodeHexTx, EncodeHexTx, ScriptPubKeyToUniv, ScriptToAsmStr, TxToUniv
#include <index/txindex.h> // for g_txindex, TxIndex
#include <key_io.h> // for EncodeDestination, DecodeDestination, DecodeSecret
#include <keystore.h> // for CBasicKeyStore
#include <merkleblock.h> // for CMerkleBlock, CPartialMerkleTree
#include <net.h> // for g_connman, CConnman, CNode
#include <policy/policy.h> // for STANDARD_SCRIPT_VERIFY_FLAGS
#include <policy/rbf.h> // for SignalsOptInRBF, MAX_BIP125_RBF_SEQUENCE
#include <primitives/transaction.h> // for CMutableTransaction, CTxIn, CTxOut, CTransaction, MakeTransactionRef, COutPoint, CTransactionRef, SERIALIZE_TRANSACTION_NO_WITNESS
#include <rpc/server.h> // for JSONRPCRequest, HelpExampleCli, UniValueType, HelpExampleRpc, RPCTypeCheck, ParseHexV, AmountFromValue, ParseHashO, ParseHashV, RPCSerializationFlags, RPCTypeCheckObj, CRPCCommand, IsDeprecatedRPCEnabled, ParseHexO, CRPCTable
#include <script/script.h> // for CScript, CScriptWitness, OP_RETURN
#include <script/script_error.h> // for ScriptErrorString, SCRIPT_ERR_INVALID_STACK_OPERATION, SCRIPT_ERR_OK, ScriptError
#include <script/sign.h> // for DataFromTransaction, ProduceSignature, UpdateInput, MutableTransactionSignatureCreator, SignatureData, DUMMY_SIGNING_PROVIDER
#include <script/standard.h> // for CTxDestination, GetScriptForDestination, CScriptID, WitnessV0KeyHash, WitnessV0ScriptHash, GetScriptForWitness, IsValidDestination, Solver, TX_PUBKEY, operator<, TX_MULTISIG, TX_PUBKEYHASH, txnouttype
#include <stddef.h> // for size_t
#include <stdint.h> // for uint32_t, int64_t, uint64_t
#include <txmempool.h> // for CCoinsViewMemPool, CTxMemPool
#include <uint256.h> // for uint256, operator<, uint256S, operator!=, operator==, base_blob
#include <univalue.h> // for UniValue, UniValue::VSTR, find_value, UniValue::VARR, UniValue::VBOOL, UniValue::VOBJ, UniValue::VNUM
#include <utilstrencodings.h> // for HexStr, IsHex, ARRAYLEN
#include <validation.h> // for LookupBlockIndex, cs_main, mempool, AcceptToMemoryPool, FormatStateMessage, GetTransaction, chainActive, pcoinsTip, ReadBlockFromDisk, maxTxFee
#include <validationinterface.h> // for CallFunctionInValidationInterfaceQueue
#include <wallet/rpcwallet.h> // for GetWalletForJSONRPCRequest, HelpRequiringPassphrase, signrawtransactionwithwallet
#include <functional> // for __base
#include <future> // for promise, future
#include <limits> // for numeric_limits
#include <map> // for map
#include <memory> // for allocator, unique_ptr, shared_ptr
#include <set> // for set
#include <stdexcept> // for runtime_error
#include <string> // for string, operator+, basic_string, char_traits, operator==, operator!=
#include <type_traits> // for move
#include <utility> // for pair
#include <vector> // for vector, vector<>::const_iterator
#include "amount.h" // for CAmount
#include "chainparams.h" // for Params, CChainParams
#include "config/bitcoin-config.h" // for ENABLE_WALLET
#include "hash.h" // for Hash160
#include "key.h" // for CKey
#include "policy/feerate.h" // for CURRENCY_UNIT
#include "prevector.h" // for prevector<>::const_iterator, operator-, prevector
#include "primitives/block.h" // for CBlock, CBlockHeader
#include "protocol.h" // for CInv, MSG_TX
#include "pubkey.h" // for CPubKey
#include "rpc/protocol.h" // for JSONRPCError, RPC_INVALID_PARAMETER, RPC_DESERIALIZATION_ERROR, RPC_INVALID_ADDRESS_OR_KEY, RPC_INTERNAL_ERROR, RPC_TRANSACTION_ERROR, RPC_CLIENT_P2P_DISABLED, RPC_METHOD_DEPRECATED, RPC_MISC_ERROR, RPC_TRANSACTION_ALREADY_IN_CHAIN, RPC_TRANSACTION_REJ...
#include "script/interpreter.h" // for SIGHASH_ANYONECANPAY, SIGHASH_ALL, SIGHASH_SINGLE, SIGHASH_NONE, VerifyScript, TransactionSignatureChecker
#include "serialize.h" // for SER_NETWORK
#include "streams.h" // for CDataStream
#include "sync.h" // for LOCK, LOCK2
#include "tinyformat.h" // for strprintf
#include "version.h" // for PROTOCOL_VERSION
class CWallet;
---
make[2]: *** [rpc/libbitcoin_server_a-rawtransaction.o] Error 31
CXX libbitcoin_server_a-validation.o
script/sigcache.h should add these lines:
#include <stdint.h> // for uint32_t, int64_t, uint8_t
#include "amount.h" // for CAmount
#include "uint256.h" // for uint256
class CTransaction;
The full include-list for script/sigcache.h:
#include <script/interpreter.h> // for TransactionSignatureChecker
#include <stdint.h> // for uint32_t, int64_t, uint8_t
#include <cstring> // for memcpy
#include <vector> // for vector
#include "amount.h" // for CAmount
#include "uint256.h" // for uint256
class CPubKey; // lines 21-21
class CTransaction;
---
script/sigcache.cpp should add these lines:
#include <algorithm> // for max, min
#include <array> // for array
#include <boost/thread/lock_types.hpp> // for shared_lock, unique_lock
#include <boost/thread/pthread/shared_mutex.hpp> // for shared_mutex
#include "crypto/sha256.h" // for CSHA256
#include "logging.h" // for LogPrintf
#include "script/interpreter.h" // for TransactionSignatureChecker
script/sigcache.cpp should remove these lines:
- #include <memusage.h> // lines 8-8
- #include <boost/thread.hpp> // lines 15-15
The full include-list for script/sigcache.cpp:
#include <script/sigcache.h>
#include <cuckoocache.h> // for cache
#include <pubkey.h> // for CPubKey
#include <random.h> // for GetRandBytes
#include <uint256.h> // for uint256, operator==
#include <util.h> // for ArgsManager, gArgs
#include <algorithm> // for max, min
#include <array> // for array
#include <boost/thread/lock_types.hpp> // for shared_lock, unique_lock
#include <boost/thread/pthread/shared_mutex.hpp> // for shared_mutex
#include "crypto/sha256.h" // for CSHA256
#include "logging.h" // for LogPrintf
#include "script/interpreter.h" // for TransactionSignatureChecker
---
make[2]: *** [script/libbitcoin_server_a-sigcache.o] Error 15
CXX libbitcoin_server_a-validationinterface.o
(timedata.h has correct #includes/fwd-decls)
timedata.cpp should add these lines:
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <cstdint> // for int64_t
#include <list> // for operator!=, operator==
#include <set> // for set
#include <string> // for string
#include <utility> // for pair
#include "logging.h" // for NET, LogPrint, LogAcceptCategory
#include "threadsafety.h" // for GUARDED_BY
#include "tinyformat.h" // for strprintf
#include "utiltime.h" // for GetTime
timedata.cpp should remove these lines:
- #include <utilstrencodings.h> // lines 15-15
The full include-list for timedata.cpp:
#include <timedata.h>
#include <config/bitcoin-config.h> // for PACKAGE_NAME
#include <netaddress.h> // for CNetAddr, operator<
#include <sync.h> // for LOCK, CCriticalSection
#include <ui_interface.h> // for CClientUIInterface, CClientUIInterface::MSG_WARNING, uiInterface
#include <util.h> // for _, ArgsManager, gArgs
#include <warnings.h> // for SetMiscWarning
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <cstdint> // for int64_t
#include <list> // for operator!=, operator==
#include <set> // for set
#include <string> // for string
#include <utility> // for pair
#include "logging.h" // for NET, LogPrint, LogAcceptCategory
#include "threadsafety.h" // for GUARDED_BY
#include "tinyformat.h" // for strprintf
#include "utiltime.h" // for GetTime
---
make[2]: *** [libbitcoin_server_a-timedata.o] Error 15
CXX libbitcoin_server_a-versionbits.o
versionbits.h should add these lines:
#include <stdint.h> // for int32_t, int64_t, uint32_t
#include "consensus/params.h" // for Params (ptr only), DeploymentPos, MAX_VERSION_BITS_DEPLOYMENTS
class CBlockIndex;
versionbits.h should remove these lines:
- #include <chain.h> // lines 8-8
The full include-list for versionbits.h:
#include <stdint.h> // for int32_t, int64_t, uint32_t
#include <map> // for map, map<>::value_compare
#include "consensus/params.h" // for Params (ptr only), DeploymentPos, MAX_VERSION_BITS_DEPLOYMENTS
class CBlockIndex;
---
versionbits.cpp should add these lines:
#include <assert.h> // for assert
#include <vector> // for vector
#include "chain.h" // for CBlockIndex
The full include-list for versionbits.cpp:
#include <versionbits.h>
#include <assert.h> // for assert
#include <consensus/params.h> // for BIP9Deployment, DeploymentPos, Params, BIP9Deployment::ALWAYS_ACTIVE, MAX_VERSION_BITS_DEPLOYMENTS
#include <vector> // for vector
#include "chain.h" // for CBlockIndex
---
make[2]: *** [libbitcoin_server_a-versionbits.o] Error 9
CXX interfaces/libbitcoin_wallet_a-wallet.o
txdb.h should add these lines:
#include <stddef.h> // for size_t
#include <stdint.h> // for int64_t
#include <functional> // for function
#include "primitives/transaction.h" // for COutPoint
class CBlockFileInfo;
namespace Consensus { struct Params; }
txdb.h should remove these lines:
- #include <chain.h> // lines 11-11
- #include <primitives/block.h> // lines 12-12
- #include <map> // lines 14-14
- class CCoinsViewDBCursor; // lines 21-21
The full include-list for txdb.h:
#include <coins.h> // for CCoinsViewCursor, CCoinsMap, CCoinsView
#include <dbwrapper.h> // for CDBIterator, CDBWrapper
#include <stddef.h> // for size_t
#include <stdint.h> // for int64_t
#include <functional> // for function
#include <memory> // for unique_ptr
#include <string> // for string
#include <utility> // for pair
#include <vector> // for vector
#include "primitives/transaction.h" // for COutPoint
class CBlockFileInfo;
class CBlockIndex; // lines 20-20
class uint256; // lines 22-22
namespace Consensus { struct Params; }
---
txdb.cpp should add these lines:
#include <assert.h> // for assert
#include <unistd.h> // for _Exit
#include <boost/filesystem/path.hpp> // for operator/, path
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/thread/detail/thread.hpp> // for interruption_point
#include <exception> // for exception
#include <list> // for operator!=, operator==
#include <type_traits> // for move
#include <unordered_map> // for __hash_map_iterator, operator!=, unordered_map<>::iterator
#include "chain.h" // for CDiskBlockIndex, CBlockIndex, CBlockFileInfo
#include "coins.h" // for CCoinsMap, Coin, CCoinsCacheEntry, CCoinsCacheEntry::DIRTY, CCoinsViewCursor (ptr only)
#include "compressor.h" // for CTxOutCompressor
#include "dbwrapper.h" // for CDBBatch, CDBIterator, CDBWrapper
#include "logging.h" // for LogPrintf, COINDB, LogPrint
#include "script/script.h" // for CScript
#include "serialize.h" // for Unserialize, VARINT, VarIntMode, VarIntMode::NONNEGATIVE_SIGNED
#include "tinyformat.h" // for format_error
namespace Consensus { struct Params; }
txdb.cpp should remove these lines:
- #include <chainparams.h> // lines 8-8
- #include <hash.h> // lines 9-9
- #include <boost/thread.hpp> // lines 19-19
The full include-list for txdb.cpp:
#include <txdb.h>
#include <assert.h> // for assert
#include <pow.h> // for CheckProofOfWork
#include <random.h> // for FastRandomContext
#include <shutdown.h> // for ShutdownRequested
#include <stdint.h> // for int64_t, uint32_t
#include <ui_interface.h> // for CClientUIInterface, uiInterface
#include <uint256.h> // for uint256, operator==, base_blob
#include <unistd.h> // for _Exit
#include <util.h> // for error, GetDataDir, _, ArgsManager, GetBlocksDir, gArgs
#include <boost/filesystem/path.hpp> // for operator/, path
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/thread/detail/thread.hpp> // for interruption_point
#include <exception> // for exception
#include <list> // for operator!=, operator==
#include <type_traits> // for move
#include <unordered_map> // for __hash_map_iterator, operator!=, unordered_map<>::iterator
#include "chain.h" // for CDiskBlockIndex, CBlockIndex, CBlockFileInfo
#include "coins.h" // for CCoinsMap, Coin, CCoinsCacheEntry, CCoinsCacheEntry::DIRTY, CCoinsViewCursor (ptr only)
#include "compressor.h" // for CTxOutCompressor
#include "dbwrapper.h" // for CDBBatch, CDBIterator, CDBWrapper
#include "logging.h" // for LogPrintf, COINDB, LogPrint
#include "script/script.h" // for CScript
#include "serialize.h" // for Unserialize, VARINT, VarIntMode, VarIntMode::NONNEGATIVE_SIGNED
#include "tinyformat.h" // for format_error
namespace Consensus { struct Params; }
---
make[2]: *** [libbitcoin_server_a-txdb.o] Error 35
CXX wallet/libbitcoin_wallet_a-crypter.o
txmempool.h should add these lines:
#include <assert.h> // for assert
#include <stddef.h> // for size_t
#include <stdint.h> // for int64_t, uint64_t, uint32_t
#include <boost/multi_index/detail/bidir_node_iterator.hpp> // for bidir_node_iterator
#include <boost/multi_index/detail/hash_index_iterator.hpp> // for hashed_index_iterator
#include <boost/multi_index/identity.hpp> // for identity
#include <boost/multi_index/indexed_by.hpp> // for indexed_by
#include <boost/multi_index/tag.hpp> // for tag
#include <boost/operators.hpp> // for operator!=, dereferenceable
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/signals2/optional_last_value.hpp> // for optional_last_value
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <list> // for operator!=
#include "core_memusage.h" // for RecursiveDynamicUsage
#include "hash.h" // for SipHashUint256
#include "memusage.h" // for MallocUsage
#include "threadsafety.h" // for EXCLUSIVE_LOCKS_REQUIRED, GUARDED_BY
#include "uint256.h" // for uint256, operator<, operator==, base_blob
txmempool.h should remove these lines:
- #include <random.h> // lines 22-22
- #include <boost/signals2/signal.hpp> // lines 28-28
- class CTxMemPool; // lines 50-50
The full include-list for txmempool.h:
#include <amount.h> // for CAmount
#include <assert.h> // for assert
#include <coins.h> // for CCoinsViewBacked
#include <indirectmap.h> // for indirectmap
#include <policy/feerate.h> // for CFeeRate
#include <primitives/transaction.h> // for CTransactionRef, CTransaction
#include <stddef.h> // for size_t
#include <stdint.h> // for int64_t, uint64_t, uint32_t
#include <sync.h> // for LOCK, CCriticalSection
#include <boost/multi_index/detail/bidir_node_iterator.hpp> // for bidir_node_iterator
#include <boost/multi_index/detail/hash_index_iterator.hpp> // for hashed_index_iterator
#include <boost/multi_index/hashed_index.hpp> // for hashed_unique
#include <boost/multi_index/identity.hpp> // for identity
#include <boost/multi_index/indexed_by.hpp> // for indexed_by
#include <boost/multi_index/ordered_index.hpp> // for ordered_non_unique
#include <boost/multi_index/sequenced_index.hpp> // for sequenced
#include <boost/multi_index/tag.hpp> // for tag
#include <boost/multi_index_container.hpp> // for multi_index_container, multi_index_container<>::index<>::type
#include <boost/operators.hpp> // for operator!=, dereferenceable
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/signals2/optional_last_value.hpp> // for optional_last_value
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <list> // for operator!=
#include <map> // for map, map<>::value_compare
#include <memory> // for shared_ptr
#include <set> // for set
#include <string> // for string
#include <utility> // for pair
#include <vector> // for vector
#include "core_memusage.h" // for RecursiveDynamicUsage
#include "hash.h" // for SipHashUint256
#include "memusage.h" // for MallocUsage
#include "threadsafety.h" // for EXCLUSIVE_LOCKS_REQUIRED, GUARDED_BY
#include "uint256.h" // for uint256, operator<, operator==, base_blob
class CBlockIndex; // lines 30-30
class CBlockPolicyEstimator; // lines 321-321
---
ui_interface.h should add these lines:
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/signals2/optional_last_value.hpp> // for optional_last_value
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/smart_ptr/shared_ptr.hpp> // for shared_ptr
#include <list> // for operator!=
ui_interface.h should remove these lines:
- #include <stdint.h> // lines 10-10
- #include <boost/signals2/signal.hpp> // lines 14-14
The full include-list for ui_interface.h:
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/signals2/last_value.hpp> // for last_value
#include <boost/signals2/optional_last_value.hpp> // for optional_last_value
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/smart_ptr/shared_ptr.hpp> // for shared_ptr
#include <list> // for operator!=
#include <memory> // for shared_ptr
#include <string> // for string
class CBlockIndex; // lines 17-17
class CWallet; // lines 16-16
---
ui_interface.cpp should add these lines:
#include <boost/function/function_template.hpp> // for function
#include <boost/iterator/iterator_facade.hpp> // for operator!=, operator==
#include "tinyformat.h" // for strprintf
The full include-list for ui_interface.cpp:
#include <ui_interface.h>
#include <util.h> // for _
#include <boost/function/function_template.hpp> // for function
#include <boost/iterator/iterator_facade.hpp> // for operator!=, operator==
#include "tinyformat.h" // for strprintf
---
make[2]: *** [libbitcoin_server_a-ui_interface.o] Error 13
CXX wallet/libbitcoin_wallet_a-db.o
torcontrol.h should add these lines:
#include <string> // for string
torcontrol.h should remove these lines:
- #include <scheduler.h> // lines 11-11
The full include-list for torcontrol.h:
#include <string> // for string
---
txmempool.cpp should add these lines:
#include <math.h> // for llround, pow
#include <algorithm> // for max, sort
#include <boost/function/function_template.hpp> // for function
#include <boost/iterator/iterator_facade.hpp> // for operator!=
#include <boost/multi_index/detail/ord_index_impl.hpp> // for ordered_index<>::iterator
#include <limits> // for numeric_limits
#include <type_traits> // for move
#include "amount.h" // for CAmount
#include "coins.h" // for Coin, CCoinsViewCache, CCoinsView, CCoinsViewBacked
#include "indirectmap.h" // for indirectmap
#include "logging.h" // for LogPrint, MEMPOOL, LogPrintf
#include "policy/feerate.h" // for CFeeRate, operator<, operator>
#include "primitives/transaction.h" // for CTransaction, COutPoint, CTxIn, operator<, CTransactionRef, CTxOut, operator!=
#include "random.h" // for GetRand
#include "sync.h" // for LOCK, AssertLockHeld
#include "tinyformat.h" // for strprintf
txmempool.cpp should remove these lines:
- #include <streams.h> // lines 15-15
- #include <timedata.h> // lines 16-16
- #include <util.h> // lines 17-17
The full include-list for txmempool.cpp:
#include <txmempool.h>
#include <consensus/consensus.h> // for COINBASE_MATURITY
#include <consensus/tx_verify.h> // for CheckTxInputs
#include <consensus/validation.h> // for GetTransactionWeight, CValidationState
#include <math.h> // for llround, pow
#include <policy/fees.h> // for CBlockPolicyEstimator
#include <policy/policy.h> // for GetVirtualTransactionSize, incrementalRelayFee
#include <reverse_iterator.h> // for reverse_iterate, reverse_range
#include <utilmoneystr.h> // for FormatMoney
#include <utiltime.h> // for GetTime
#include <validation.h> // for CheckFinalTx, CheckSequenceLocks, GetSpendHeight, TestLockPointValidity, UpdateCoins
#include <algorithm> // for max, sort
#include <boost/function/function_template.hpp> // for function
#include <boost/iterator/iterator_facade.hpp> // for operator!=
#include <boost/multi_index/detail/ord_index_impl.hpp> // for ordered_index<>::iterator
#include <limits> // for numeric_limits
#include <type_traits> // for move
#include "amount.h" // for CAmount
#include "coins.h" // for Coin, CCoinsViewCache, CCoinsView, CCoinsViewBacked
#include "indirectmap.h" // for indirectmap
#include "logging.h" // for LogPrint, MEMPOOL, LogPrintf
#include "policy/feerate.h" // for CFeeRate, operator<, operator>
#include "primitives/transaction.h" // for CTransaction, COutPoint, CTxIn, operator<, CTransactionRef, CTxOut, operator!=
#include "random.h" // for GetRand
#include "sync.h" // for LOCK, AssertLockHeld
#include "tinyformat.h" // for strprintf
---
make[2]: *** [libbitcoin_server_a-txmempool.o] Error 43
CXX wallet/libbitcoin_wallet_a-feebumper.o
torcontrol.cpp should add these lines:
#include <assert.h> // for assert
#include <stdio.h> // for fclose, ferror, fread, fwrite, FILE
#include <sys/socket.h> // for sockaddr_storage
#include <sys/time.h> // for timeval
#include <boost/algorithm/string/detail/classification.hpp> // for is_any_ofF
#include <boost/bind/arg.hpp> // for arg
#include <boost/bind/bind.hpp> // for bind, bind_t
#include <boost/bind/placeholders.hpp> // for _1, _2
#include <boost/filesystem/path.hpp> // for path, operator/
#include <boost/function/function_template.hpp> // for function
#include <boost/iterator/iterator_facade.hpp> // for operator!=
#include <boost/iterator/iterator_traits.hpp> // for iterator_value<>::type
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/signals2/optional_last_value.hpp> // for optional_last_value
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/thread/exceptions.hpp> // for thread_interrupted
#include <boost/type_index/type_index_facade.hpp> // for operator==
#include <cstdint> // for uint8_t, int64_t
#include <exception> // for exception
#include <functional> // for __bind, __base, function, bind
#include <limits> // for numeric_limits
#include <list> // for operator!=, operator==
#include <map> // for map, operator!=, __map_iterator, map<>::iterator, map<>::mapped_type
#include <thread> // for thread
#include <utility> // for pair, make_pair, __make_pair_return<>::type
#include "fs.h" // for fopen
#include "logging.h" // for LogPrintf, LogPrint, TOR
#include "netaddress.h" // for CService, NET_ONION
#include "random.h" // for GetRandBytes
#include "tinyformat.h" // for format_error, strprintf
torcontrol.cpp should remove these lines:
- #include <boost/bind.hpp> // lines 18-18
- #include <boost/signals2/signal.hpp> // lines 19-19
The full include-list for torcontrol.cpp:
#include <torcontrol.h>
#include <assert.h> // for assert
#include <crypto/hmac_sha256.h> // for CHMAC_SHA256, CHMAC_SHA256::OUTPUT_SIZE
#include <event2/buffer.h> // for evbuffer_add, evbuffer_get_length, evbuffer_readln, EVBUFFER_EOL_CRLF
#include <event2/bufferevent.h> // for bufferevent_free, bufferevent_enable, bufferevent_get_input, bufferevent_get_output, bufferevent_setcb, bufferevent_socket_connect, bufferevent_socket_new, BEV_EVENT_ERROR, BEV_EVENT_CONNECTED, BEV_EVENT_EOF, BEV_OPT_CLOSE_ON_FREE
#include <event2/event.h> // for event_add, event_base_dispatch, event_base_free, event_base_loopbreak, event_base_new, event_free, event_new, EV_READ, EV_WRITE
#include <event2/thread.h> // for evthread_use_pthreads
#include <event2/util.h> // for evutil_parse_sockaddr_port, evutil_socket_t
#include <net.h> // for GetListenPort, RemoveLocal, AddLocal, SetLimited, LOCAL_MANUAL
#include <netbase.h> // for LookupNumeric, MillisToTimeval, SetProxy, proxyType
#include <stdio.h> // for fclose, ferror, fread, fwrite, FILE
#include <stdlib.h> // for size_t, free, strtol
#include <sys/socket.h> // for sockaddr_storage
#include <sys/time.h> // for timeval
#include <util.h> // for ArgsManager, GetDataDir, gArgs, TraceThread
#include <utilstrencodings.h> // for HexStr, SanitizeString, ParseHex, atoi
#include <boost/algorithm/string/classification.hpp> // for is_any_of
#include <boost/algorithm/string/detail/classification.hpp> // for is_any_ofF
#include <boost/algorithm/string/replace.hpp> // for replace_all
#include <boost/algorithm/string/split.hpp> // for split
#include <boost/bind/arg.hpp> // for arg
#include <boost/bind/bind.hpp> // for bind, bind_t
#include <boost/bind/placeholders.hpp> // for _1, _2
#include <boost/filesystem/path.hpp> // for path, operator/
#include <boost/function/function_template.hpp> // for function
#include <boost/iterator/iterator_facade.hpp> // for operator!=
#include <boost/iterator/iterator_traits.hpp> // for iterator_value<>::type
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/signals2/optional_last_value.hpp> // for optional_last_value
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/thread/exceptions.hpp> // for thread_interrupted
#include <boost/type_index/type_index_facade.hpp> // for operator==
#include <cstdint> // for uint8_t, int64_t
#include <deque> // for deque
#include <exception> // for exception
#include <functional> // for __bind, __base, function, bind
#include <limits> // for numeric_limits
#include <list> // for operator!=, operator==
#include <map> // for map, operator!=, __map_iterator, map<>::iterator, map<>::mapped_type
#include <set> // for set
#include <thread> // for thread
#include <utility> // for pair, make_pair, __make_pair_return<>::type
#include <vector> // for vector, operator!=, allocator
#include "fs.h" // for fopen
#include "logging.h" // for LogPrintf, LogPrint, TOR
#include "netaddress.h" // for CService, NET_ONION
#include "random.h" // for GetRandBytes
#include "tinyformat.h" // for format_error, strprintf
---
make[2]: *** [libbitcoin_server_a-torcontrol.o] Error 37
CXX wallet/libbitcoin_wallet_a-fees.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 76310 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT wallet/libbitcoin_wallet_a-crypter.o -MD -MP -MF wallet/.deps/libbitcoin_wallet_a-crypter.Tpo -c -o wallet/libbitcoin_wallet_a-crypter.o `test -f 'wallet/crypter.cpp' || echo './'`wallet/crypter.cpp
make[2]: *** [wallet/libbitcoin_wallet_a-crypter.o] Error 134
CXX wallet/libbitcoin_wallet_a-init.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 76307 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT interfaces/libbitcoin_wallet_a-wallet.o -MD -MP -MF interfaces/.deps/libbitcoin_wallet_a-wallet.Tpo -c -o interfaces/libbitcoin_wallet_a-wallet.o `test -f 'interfaces/wallet.cpp' || echo './'`interfaces/wallet.cpp
make[2]: *** [interfaces/libbitcoin_wallet_a-wallet.o] Error 134
CXX wallet/libbitcoin_wallet_a-rpcdump.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 76319 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT wallet/libbitcoin_wallet_a-fees.o -MD -MP -MF wallet/.deps/libbitcoin_wallet_a-fees.Tpo -c -o wallet/libbitcoin_wallet_a-fees.o `test -f 'wallet/fees.cpp' || echo './'`wallet/fees.cpp
make[2]: *** [wallet/libbitcoin_wallet_a-fees.o] Error 134
CXX wallet/libbitcoin_wallet_a-rpcwallet.o
validationinterface.h should add these lines:
#include <stddef.h> // for size_t
#include <stdint.h> // for int64_t
#include <vector> // for vector
validationinterface.h should remove these lines:
- class CBlockIndex; // lines 17-17
- class CReserveScript; // lines 19-19
The full include-list for validationinterface.h:
#include <primitives/transaction.h> // for CTransactionRef
#include <stddef.h> // for size_t
#include <stdint.h> // for int64_t
#include <functional> // for function
#include <memory> // for shared_ptr, unique_ptr
#include <vector> // for vector
class CBlock; // lines 14-14
class CBlockIndex; // lines 15-15
class CConnman; // lines 18-18
class CScheduler; // lines 23-23
class CTxMemPool; // lines 24-24
class CValidationInterface; // lines 20-20
class CValidationState; // lines 21-21
class uint256; // lines 22-22
struct CBlockLocator; // lines 16-16
struct MainSignalsInstance; // lines 144-144
---
validationinterface.cpp should add these lines:
#include <assert.h> // for assert
#include <boost/bind/arg.hpp> // for arg
#include <boost/bind/bind.hpp> // for bind_t, list_av_3<>::type, list_av_2<>::type, bind, list_av_4<>::type
#include <boost/bind/mem_fn.hpp> // for mf1, mf2, mf3
#include <boost/bind/placeholders.hpp> // for _1, _2, _3
#include <boost/cstdint.hpp> // for int64_t
#include <boost/function/function_base.hpp> // for operator==
#include <boost/function/function_template.hpp> // for function
#include <boost/iterator/iterator_facade.hpp> // for operator!=
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/signals2/optional_last_value.hpp> // for optional_last_value
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/smart_ptr/shared_ptr.hpp> // for shared_ptr
#include <boost/type_index/type_index_facade.hpp> // for operator==
#include <type_traits> // for move
#include "primitives/transaction.h" // for CTransactionRef
validationinterface.cpp should remove these lines:
- #include <util.h> // lines 12-12
- #include <atomic> // lines 16-16
- #include <boost/signals2/signal.hpp> // lines 19-19
The full include-list for validationinterface.cpp:
#include <validationinterface.h>
#include <assert.h> // for assert
#include <primitives/block.h> // for CBlock
#include <scheduler.h> // for SingleThreadedSchedulerClient
#include <sync.h> // for AssertLockNotHeld
#include <txmempool.h> // for MemPoolRemovalReason, CTxMemPool, MemPoolRemovalReason::BLOCK, MemPoolRemovalReason::CONFLICT
#include <validation.h> // for cs_main
#include <boost/bind/arg.hpp> // for arg
#include <boost/bind/bind.hpp> // for bind_t, list_av_3<>::type, list_av_2<>::type, bind, list_av_4<>::type
#include <boost/bind/mem_fn.hpp> // for mf1, mf2, mf3
#include <boost/bind/placeholders.hpp> // for _1, _2, _3
#include <boost/cstdint.hpp> // for int64_t
#include <boost/function/function_base.hpp> // for operator==
#include <boost/function/function_template.hpp> // for function
#include <boost/iterator/iterator_facade.hpp> // for operator!=
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/signals2/optional_last_value.hpp> // for optional_last_value
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/smart_ptr/shared_ptr.hpp> // for shared_ptr
#include <boost/type_index/type_index_facade.hpp> // for operator==
#include <future> // for promise, future
#include <list> // for operator!=, operator==
#include <type_traits> // for move
#include "primitives/transaction.h" // for CTransactionRef
---
make[2]: *** [libbitcoin_server_a-validationinterface.o] Error 27
CXX wallet/libbitcoin_wallet_a-wallet.o
wallet/db.h should add these lines:
#include <assert.h> // for assert
#include <stdint.h> // for int64_t
#include <stdlib.h> // for free
#include <boost/filesystem/path.hpp> // for path
#include <exception> // for exception
#include <utility> // for pair
#include "db.h" // for DB_DBT_MALLOC, DB_NEXT, DB_NOOVERWRITE, DB_NOTFOUND, DB_SET_RANGE, DB_TXN_WRITE_NOSYNC
#include "support/cleanse.h" // for memory_cleanse
wallet/db.h should remove these lines:
- #include <fs.h> // lines 10-10
- #include <sync.h> // lines 13-13
- #include <version.h> // lines 15-15
The full include-list for wallet/db.h:
#include <assert.h> // for assert
#include <clientversion.h> // for CLIENT_VERSION
#include <db_cxx.h> // for Dbt, Db, DbTxn, DbEnv, Dbc
#include <serialize.h> // for SER_DISK
#include <stdint.h> // for int64_t
#include <stdlib.h> // for free
#include <streams.h> // for CDataStream
#include <util.h> // for MakeUnique
#include <atomic> // for atomic
#include <boost/filesystem/path.hpp> // for path
#include <exception> // for exception
#include <map> // for map
#include <memory> // for unique_ptr
#include <string> // for string
#include <utility> // for pair
#include <vector> // for vector
#include "db.h" // for DB_DBT_MALLOC, DB_NEXT, DB_NOOVERWRITE, DB_NOTFOUND, DB_SET_RANGE, DB_TXN_WRITE_NOSYNC
#include "support/cleanse.h" // for memory_cleanse
---
validation.h should add these lines:
#include <stdio.h> // for size_t, FILE
#include <boost/filesystem/path.hpp> // for path
#include <list> // for list
#include <type_traits> // for swap
#include <unordered_map> // for __hash_const_iterator<>::__non_const_iterator, __hash_const_iterator, operator==, unordered_map<>::const_iterator, __hash_map_const_iterator, unordered_map
#include "arith_uint256.h" // for arith_uint256
#include "chain.h" // for CDiskBlockPos (ptr only), CBlockIndex, CChain (ptr only), BLOCK_HAVE_DATA, CBlockFileInfo (ptr only)
#include "consensus/params.h" // for Params (ptr only), DeploymentPos
#include "policy/fees.h" // for CBlockPolicyEstimator
#include "primitives/block.h" // for CBlock, CBlockHeader (ptr only), CBlockLocator (ptr only)
#include "primitives/transaction.h" // for CTxOut, CTransaction, CTransactionRef
#include "script/script.h" // for CScript
#include "threadsafety.h" // for EXCLUSIVE_LOCKS_REQUIRED, LOCKS_EXCLUDED
#include "txmempool.h" // for LockPoints (ptr only), CTxMemPool
#include "uint256.h" // for uint256, operator==
validation.h should remove these lines:
- #include <config/bitcoin-config.h> // lines 10-10
- #include <fs.h> // lines 15-15
- #include <algorithm> // lines 22-22
- #include <exception> // lines 23-23
- #include <map> // lines 24-24
- class CBlockIndex; // lines 34-34
- class CBlockPolicyEstimator; // lines 41-41
- class CConnman; // lines 39-39
- class CInv; // lines 38-38
- class CScriptCheck; // lines 40-40
- class CTxMemPool; // lines 42-42
- struct LockPoints; // lines 47-47
The full include-list for validation.h:
#include <amount.h> // for CAmount, COIN
#include <coins.h> // for CCoinsViewCache
#include <policy/feerate.h> // for CFeeRate
#include <protocol.h> // for CMessageHeader, CMessageHeader::MessageStartChars
#include <script/script_error.h> // for ScriptError, SCRIPT_ERR_UNKNOWN_ERROR
#include <stdint.h> // for uint64_t, int64_t, uint8_t, int32_t
#include <stdio.h> // for size_t, FILE
#include <sync.h> // for AssertLockHeld, CConditionVariable, CCriticalSection, CWaitableCriticalSection
#include <versionbits.h> // for BIP9Stats, ThresholdState, VersionBitsCache
#include <atomic> // for atomic_bool
#include <boost/filesystem/path.hpp> // for path
#include <list> // for list
#include <memory> // for shared_ptr, unique_ptr
#include <set> // for set
#include <string> // for string
#include <type_traits> // for swap
#include <unordered_map> // for __hash_const_iterator<>::__non_const_iterator, __hash_const_iterator, operator==, unordered_map<>::const_iterator, __hash_map_const_iterator, unordered_map
#include <utility> // for pair
#include <vector> // for vector
#include "arith_uint256.h" // for arith_uint256
#include "chain.h" // for CDiskBlockPos (ptr only), CBlockIndex, CChain (ptr only), BLOCK_HAVE_DATA, CBlockFileInfo (ptr only)
#include "consensus/params.h" // for Params (ptr only), DeploymentPos
#include "policy/fees.h" // for CBlockPolicyEstimator
#include "primitives/block.h" // for CBlock, CBlockHeader (ptr only), CBlockLocator (ptr only)
#include "primitives/transaction.h" // for CTxOut, CTransaction, CTransactionRef
#include "script/script.h" // for CScript
#include "threadsafety.h" // for EXCLUSIVE_LOCKS_REQUIRED, LOCKS_EXCLUDED
#include "txmempool.h" // for LockPoints (ptr only), CTxMemPool
#include "uint256.h" // for uint256, operator==
class CBlockTreeDB; // lines 35-35
class CChainParams; // lines 36-36
class CCoinsViewDB; // lines 37-37
class CValidationState; // lines 43-43
struct ChainTxData; // lines 44-44
struct PrecomputedTransactionData; // lines 46-46
---
wallet/db.cpp should add these lines:
#include <i386/types.h> // for u_int8_t, int64_t, u_int32_t
#include <algorithm> // for min
#include <boost/filesystem/convenience.hpp> // for basename, extension
#include <boost/filesystem/operations.hpp> // for filesystem_error, copy_file, equivalent, exists, is_directory, is_regular_file, remove_all, rename, copy_option, copy_option::overwrite_if_exists
#include <boost/thread/detail/thread.hpp> // for interruption_point
#include <istream> // for stringstream, getline
#include <iterator> // for begin, end
#include <stdexcept> // for runtime_error
#include <tuple> // for forward_as_tuple
#include "clientversion.h" // for CLIENT_VERSION
#include "db_cxx.h" // for DbEnv, Db, Dbt, DbMpoolFile, DbTxn, Dbc
#include "fs.h" // for fopen
#include "logging.h" // for LogPrintf, DB, LogPrint
#include "serialize.h" // for SER_DISK
#include "streams.h" // for CDataStream
#include "sync.h" // for LOCK, CCriticalBlock, CCriticalSection, TRY_LOCK
#include "threadsafety.h" // for GUARDED_BY
#include "tinyformat.h" // for strprintf
#include "util.h" // for _, MakeUnique, TryCreateDirectories, LockDirectory, ArgsManager, gArgs
#include "utiltime.h" // for GetTimeMillis, GetTime, MilliSleep
wallet/db.cpp should remove these lines:
- #include <addrman.h> // lines 8-8
- #include <hash.h> // lines 9-9
- #include <protocol.h> // lines 10-10
- #include <stdint.h> // lines 15-15
- #include <boost/thread.hpp> // lines 21-21
The full include-list for wallet/db.cpp:
#include <wallet/db.h>
#include <i386/types.h> // for u_int8_t, int64_t, u_int32_t
#include <sys/stat.h> // for S_IRUSR, S_IWUSR
#include <utilstrencodings.h> // for ParseHex, HexStr
#include <wallet/walletutil.h> // for GetWalletDir
#include <algorithm> // for min
#include <boost/filesystem/convenience.hpp> // for basename, extension
#include <boost/filesystem/operations.hpp> // for filesystem_error, copy_file, equivalent, exists, is_directory, is_regular_file, remove_all, rename, copy_option, copy_option::overwrite_if_exists
#include <boost/thread/detail/thread.hpp> // for interruption_point
#include <cstring> // for strchr, strncmp, memcmp, strlen
#include <istream> // for stringstream, getline
#include <iterator> // for begin, end
#include <stdexcept> // for runtime_error
#include <tuple> // for forward_as_tuple
#include "clientversion.h" // for CLIENT_VERSION
#include "db_cxx.h" // for DbEnv, Db, Dbt, DbMpoolFile, DbTxn, Dbc
#include "fs.h" // for fopen
#include "logging.h" // for LogPrintf, DB, LogPrint
#include "serialize.h" // for SER_DISK
#include "streams.h" // for CDataStream
#include "sync.h" // for LOCK, CCriticalBlock, CCriticalSection, TRY_LOCK
#include "threadsafety.h" // for GUARDED_BY
#include "tinyformat.h" // for strprintf
#include "util.h" // for _, MakeUnique, TryCreateDirectories, LockDirectory, ArgsManager, gArgs
#include "utiltime.h" // for GetTimeMillis, GetTime, MilliSleep
---
make[2]: *** [wallet/libbitcoin_wallet_a-db.o] Error 38
CXX wallet/libbitcoin_wallet_a-walletdb.o
validation.cpp should add these lines:
#include <assert.h> // for assert
#include <math.h> // for log
#include <time.h> // for time
#include <algorithm> // for max, min, equal, sort
#include <array> // for array
#include <boost/bind/arg.hpp> // for arg
#include <boost/bind/bind.hpp> // for bind_t, list_av_3<>::type, bind
#include <boost/bind/mem_fn.hpp> // for mf2
#include <boost/bind/placeholders.hpp> // for _1, _2
#include <boost/filesystem/operations.hpp> // for remove, create_directories, space, space_info
#include <boost/function/function_base.hpp> // for operator==
#include <boost/function/function_template.hpp> // for function
#include <boost/iterator/iterator_facade.hpp> // for iterator_facade_base, operator!=, iterator_facade
#include <boost/iterator/iterator_traits.hpp> // for iterator_value<>::type
#include <boost/iterator/reverse_iterator.hpp> // for reverse_iterator
#include <boost/multi_index/detail/bidir_node_iterator.hpp> // for operator==, bidir_node_iterator
#include <boost/multi_index/detail/hash_index_iterator.hpp> // for operator==
#include <boost/multi_index/detail/index_node_base.hpp> // for index_node_base<>::value_type
#include <boost/multi_index/sequenced_index.hpp> // for sequenced_index<>::reverse_iterator
#include <boost/multi_index_container.hpp> // for multi_index_container<>::index<>::type
#include <boost/operators.hpp> // for dereferenceable, operator!=
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/thread/detail/thread.hpp> // for interruption_point
#include <boost/type_index/type_index_facade.hpp> // for operator==
#include <cstdint> // for uint8_t, int64_t
#include <deque> // for deque
#include <exception> // for exception
#include <functional> // for __base
#include <iterator> // for operator==, reverse_iterator
#include <limits> // for numeric_limits
#include <map> // for multimap<>::iterator, multimap, operator!=, __map_iterator, map, __tree_const_iterator, __hash_key_value_types<>::__map_value_type, operator==, __hash_const_iterator, __hash_const_iterator<>::__non_const_iterator
#include <stdexcept> // for runtime_error
#include <thread> // for thread
#include "amount.h" // for CAmount, MoneyRange, COIN
#include "clientversion.h" // for CLIENT_VERSION
#include "coins.h" // for CCoinsViewCache, Coin, AccessByTxid, AddCoins, CCoinsView
#include "crypto/sha256.h" // for CSHA256
#include "fs.h" // for fopen
#include "indirectmap.h" // for indirectmap
#include "logging.h" // for LogPrintf, LogPrint, BENCH, REINDEX, MEMPOOL, PRUNE
#include "policy/feerate.h" // for CFeeRate, operator<=
#include "prevector.h" // for prevector<>::iterator, prevector, prevector<>::const_iterator, operator-
#include "protocol.h" // for CMessageHeader, CMessageHeader::MESSAGE_START_SIZE, CMessageHeader::MessageStartChars
#include "script/interpreter.h" // for PrecomputedTransactionData, VerifyScript, SCRIPT_VERIFY_CLEANSTACK, SCRIPT_VERIFY_P2SH, SCRIPT_VERIFY_WITNESS, SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY, SCRIPT_VERIFY_CHECKSEQUENCEVERIFY, SCRIPT_VERIFY_DERSIG, SCRIPT_VERIFY_NONE, SCRIP...
#include "script/script_error.h" // for ScriptErrorString
#include "serialize.h" // for GetSerializeSize, SER_DISK, MAX_SIZE, SER_NETWORK, SER_GETHASH
#include "streams.h" // for CAutoFile, CBufferedFile
#include "sync.h" // for LOCK, AssertLockHeld, CCriticalSection, AssertLockNotHeld, CConditionVariable, CWaitableCriticalSection, LOCK2, WaitableLock
#include "utiltime.h" // for GetTimeMicros, FormatISO8601DateTime, GetTime, GetTimeMillis, FormatISO8601Date
#include "version.h" // for PROTOCOL_VERSION
#include "versionbits.h" // for VersionBitsState, ThresholdState, ThresholdState::ACTIVE, ThresholdConditionCache, VERSIONBITS_NUM_BITS, VersionBitsMask, VersionBitsStateSinceHeight, VersionBitsStatistics, ThresholdState::LOCKED_IN, VERSIONBITS_TOP_BITS, Versi...
validation.cpp should remove these lines:
- #include <boost/thread.hpp> // lines 50-50
- #include <future> // lines 45-45
- #include <sstream> // lines 46-46
The full include-list for validation.cpp:
#include <validation.h>
#include <arith_uint256.h> // for arith_uint256, operator>, base_uint, operator<, operator+, operator>=, operator*, operator-
#include <assert.h> // for assert
#include <chain.h> // for CBlockIndex, CChain, CBlockFileInfo, CDiskBlockPos, BLOCK_HAVE_DATA, GetBlockProof, BLOCK_FAILED_MASK, BLOCK_VALID_MASK, BLOCK_VALID_TRANSACTIONS, BLOCK_VALID_TREE, BLOCK_FAILED_VALID, BLOCK_VALID_SCRIPTS, BLOCK_FAILED_CHILD
#include <chainparams.h> // for CChainParams, Params, ChainTxData
#include <checkpoints.h> // for GetLastCheckpoint
#include <checkqueue.h> // for CCheckQueueControl, CCheckQueue
#include <consensus/consensus.h> // for LOCKTIME_MEDIAN_TIME_PAST, MAX_BLOCK_SERIALIZED_SIZE, MAX_BLOCK_WEIGHT, WITNESS_SCALE_FACTOR, MAX_BLOCK_SIGOPS_COST, LOCKTIME_VERIFY_SEQUENCE
#include <consensus/merkle.h> // for BlockWitnessMerkleRoot, BlockMerkleRoot
#include <consensus/tx_verify.h> // for CheckTransaction, CheckTxInputs, GetTransactionSigOpCost, IsFinalTx, CalculateSequenceLocks, EvaluateSequenceLocks, GetLegacySigOpCount, SequenceLocks
#include <consensus/validation.h> // for CValidationState, REJECT_INVALID, REJECT_NONSTANDARD, REJECT_INSUFFICIENTFEE, GetBlockWeight, REJECT_DUPLICATE, REJECT_CHECKPOINT, REJECT_OBSOLETE
#include <cuckoocache.h> // for cache
#include <hash.h> // for CHash256, CHashVerifier, CHashWriter
#include <index/txindex.h> // for g_txindex, TxIndex
#include <math.h> // for log
#include <policy/fees.h> // for CBlockPolicyEstimator
#include <policy/policy.h> // for DEFAULT_MAX_MEMPOOL_SIZE, AreInputsStandard, IsStandardTx, IsWitnessStandard, STANDARD_LOCKTIME_VERIFY_FLAGS, STANDARD_NOT_MANDATORY_VERIFY_FLAGS, STANDARD_SCRIPT_VERIFY_FLAGS, incrementalRelayFee, MAX_STANDARD_TX_SIGOPS_COST
#include <policy/rbf.h> // for MAX_BIP125_RBF_SEQUENCE
#include <pow.h> // for CheckProofOfWork, GetNextWorkRequired
#include <primitives/block.h> // for CBlock, CBlockHeader, CBlockLocator
#include <primitives/transaction.h> // for CTransaction, CTransactionRef, CTxIn, CTxOut, COutPoint, CMutableTransaction, MakeTransactionRef, operator==, operator!=, SERIALIZE_TRANSACTION_NO_WITNESS, operator<
#include <random.h> // for GetRandHash
#include <reverse_iterator.h> // for reverse_iterate, reverse_range
#include <script/script.h> // for CScript, CScriptWitness, OP_RETURN
#include <script/sigcache.h> // for SignatureCacheHasher, CachingTransactionSignatureChecker, DEFAULT_MAX_SIG_CACHE_SIZE, MAX_MAX_SIG_CACHE_SIZE
#include <script/standard.h> // for MANDATORY_SCRIPT_VERIFY_FLAGS
#include <shutdown.h> // for ShutdownRequested, StartShutdown
#include <time.h> // for time
#include <timedata.h> // for GetAdjustedTime
#include <tinyformat.h> // for format_error, strprintf
#include <txdb.h> // for CBlockTreeDB, CCoinsViewDB, MAX_BLOCK_COINSDB_USAGE
#include <txmempool.h> // for CTxMemPool, MemPoolRemovalReason, CTxMemPool::txiter, CTxMemPoolEntry, DisconnectedBlockTransactions, TxMempoolInfo, CTxMemPool::indexed_transaction_set, CTxMemPool::setEntries, LockPoints, DisconnectedBlockTransactions::indexed...
#include <ui_interface.h> // for CClientUIInterface, uiInterface, CClientUIInterface::MSG_ERROR
#include <undo.h> // for CTxUndo, CBlockUndo
#include <util.h> // for error, _, ArgsManager, GetDataDir, gArgs, FileCommit, AllocateFileRange, GetBlocksDir, TruncateFile, RenameOver, RenameThread, runCommand
#include <utilmoneystr.h> // for FormatMoney
#include <utilstrencodings.h> // for HexStr, SanitizeString
#include <validationinterface.h> // for GetMainSignals, CMainSignals, SyncWithValidationInterfaceQueue
#include <warnings.h> // for SetMiscWarning, SetfLargeWorkForkFound, SetfLargeWorkInvalidChainFound, GetfLargeWorkForkFound
#include <algorithm> // for max, min, equal, sort
#include <array> // for array
#include <boost/algorithm/string/join.hpp> // for join
#include <boost/algorithm/string/replace.hpp> // for replace_all
#include <boost/bind/arg.hpp> // for arg
#include <boost/bind/bind.hpp> // for bind_t, list_av_3<>::type, bind
#include <boost/bind/mem_fn.hpp> // for mf2
#include <boost/bind/placeholders.hpp> // for _1, _2
#include <boost/filesystem/operations.hpp> // for remove, create_directories, space, space_info
#include <boost/function/function_base.hpp> // for operator==
#include <boost/function/function_template.hpp> // for function
#include <boost/iterator/iterator_facade.hpp> // for iterator_facade_base, operator!=, iterator_facade
#include <boost/iterator/iterator_traits.hpp> // for iterator_value<>::type
#include <boost/iterator/reverse_iterator.hpp> // for reverse_iterator
#include <boost/multi_index/detail/bidir_node_iterator.hpp> // for operator==, bidir_node_iterator
#include <boost/multi_index/detail/hash_index_iterator.hpp> // for operator==
#include <boost/multi_index/detail/index_node_base.hpp> // for index_node_base<>::value_type
#include <boost/multi_index/sequenced_index.hpp> // for sequenced_index<>::reverse_iterator
#include <boost/multi_index_container.hpp> // for multi_index_container<>::index<>::type
#include <boost/operators.hpp> // for dereferenceable, operator!=
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/thread/detail/thread.hpp> // for interruption_point
#include <boost/type_index/type_index_facade.hpp> // for operator==
#include <cstdint> // for uint8_t, int64_t
#include <cstring> // for size_t, memcmp, memcpy
#include <deque> // for deque
#include <exception> // for exception
#include <functional> // for __base
#include <iterator> // for operator==, reverse_iterator
#include <limits> // for numeric_limits
#include <map> // for multimap<>::iterator, multimap, operator!=, __map_iterator, map, __tree_const_iterator, __hash_key_value_types<>::__map_value_type, operator==, __hash_const_iterator, __hash_const_iterator<>::__non_const_iterator
#include <stdexcept> // for runtime_error
#include <thread> // for thread
#include "amount.h" // for CAmount, MoneyRange, COIN
#include "clientversion.h" // for CLIENT_VERSION
#include "coins.h" // for CCoinsViewCache, Coin, AccessByTxid, AddCoins, CCoinsView
#include "crypto/sha256.h" // for CSHA256
#include "fs.h" // for fopen
#include "indirectmap.h" // for indirectmap
#include "logging.h" // for LogPrintf, LogPrint, BENCH, REINDEX, MEMPOOL, PRUNE
#include "policy/feerate.h" // for CFeeRate, operator<=
#include "prevector.h" // for prevector<>::iterator, prevector, prevector<>::const_iterator, operator-
#include "protocol.h" // for CMessageHeader, CMessageHeader::MESSAGE_START_SIZE, CMessageHeader::MessageStartChars
#include "script/interpreter.h" // for PrecomputedTransactionData, VerifyScript, SCRIPT_VERIFY_CLEANSTACK, SCRIPT_VERIFY_P2SH, SCRIPT_VERIFY_WITNESS, SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY, SCRIPT_VERIFY_CHECKSEQUENCEVERIFY, SCRIPT_VERIFY_DERSIG, SCRIPT_VERIFY_NONE, SCRIP...
#include "script/script_error.h" // for ScriptErrorString
#include "serialize.h" // for GetSerializeSize, SER_DISK, MAX_SIZE, SER_NETWORK, SER_GETHASH
#include "streams.h" // for CAutoFile, CBufferedFile
#include "sync.h" // for LOCK, AssertLockHeld, CCriticalSection, AssertLockNotHeld, CConditionVariable, CWaitableCriticalSection, LOCK2, WaitableLock
#include "utiltime.h" // for GetTimeMicros, FormatISO8601DateTime, GetTime, GetTimeMillis, FormatISO8601Date
#include "version.h" // for PROTOCOL_VERSION
#include "versionbits.h" // for VersionBitsState, ThresholdState, ThresholdState::ACTIVE, ThresholdConditionCache, VERSIONBITS_NUM_BITS, VersionBitsMask, VersionBitsStateSinceHeight, VersionBitsStatistics, ThresholdState::LOCKED_IN, VERSIONBITS_TOP_BITS, Versi...
class ConnectTrace; // lines 92-92
---
make[2]: *** [libbitcoin_server_a-validation.o] Error 85
CXX wallet/libbitcoin_wallet_a-walletutil.o
wallet/feebumper.h should add these lines:
#include <string> // for string
#include <vector> // for vector
#include "amount.h" // for CAmount
struct CMutableTransaction;
wallet/feebumper.h should remove these lines:
- #include <primitives/transaction.h> // lines 8-8
- class CWalletTx; // lines 11-11
The full include-list for wallet/feebumper.h:
#include <string> // for string
#include <vector> // for vector
#include "amount.h" // for CAmount
class CCoinControl; // lines 13-13
class CWallet; // lines 10-10
class uint256; // lines 12-12
struct CMutableTransaction;
---
wallet/feebumper.cpp should add these lines:
#include <assert.h> // for assert
#include <stddef.h> // for size_t
#include <stdint.h> // for int64_t
#include <boost/multi_index/detail/hash_index_iterator.hpp> // for hashed_index_iterator
#include <boost/operators.hpp> // for operator!=, dereferenceable
#include <boost/optional/optional.hpp> // for optional
#include <map> // for operator==, map, __map_const_iterator, __map_iterator, map<>::mapped_type
#include <memory> // for shared_ptr, unique_ptr
#include <type_traits> // for move
#include <utility> // for pair
#include "logging.h" // for LogPrint, RPC
#include "policy/feerate.h" // for CFeeRate, operator>
#include "primitives/transaction.h" // for CMutableTransaction, CTxOut, CTransactionRef, CTransaction, MakeTransactionRef, CTxIn
#include "script/ismine.h" // for ISMINE_SPENDABLE
#include "sync.h" // for LOCK2, LOCK
#include "threadsafety.h" // for EXCLUSIVE_LOCKS_REQUIRED
#include "tinyformat.h" // for strprintf
#include "uint256.h" // for uint256, operator<, operator==
wallet/feebumper.cpp should remove these lines:
- #include <policy/fees.h> // lines 10-10
The full include-list for wallet/feebumper.cpp:
#include <wallet/feebumper.h>
#include <assert.h> // for assert
#include <consensus/validation.h> // for CValidationState
#include <net.h> // for g_connman
#include <policy/policy.h> // for incrementalRelayFee, GetDustThreshold, GetVirtualTransactionSize, DEFAULT_MAX_MEMPOOL_SIZE
#include <policy/rbf.h> // for SignalsOptInRBF
#include <stddef.h> // for size_t
#include <stdint.h> // for int64_t
#include <txmempool.h> // for CTxMemPool, CTxMemPool::indexed_transaction_set, CTxMemPoolEntry
#include <util.h> // for ArgsManager, gArgs
#include <utilmoneystr.h> // for FormatMoney
#include <validation.h> // for FormatStateMessage, mempool, cs_main, feeEstimator, maxTxFee
#include <wallet/coincontrol.h> // for CCoinControl
#include <wallet/fees.h> // for GetDiscardRate, GetMinimumFee, GetRequiredFee
#include <wallet/wallet.h> // for CWalletTx, CWallet, mapValue_t, CalculateMaximumSignedTxSize, CReserveKey, WALLET_INCREMENTAL_RELAY_FEE
#include <boost/multi_index/detail/hash_index_iterator.hpp> // for hashed_index_iterator
#include <boost/operators.hpp> // for operator!=, dereferenceable
#include <boost/optional/optional.hpp> // for optional
#include <map> // for operator==, map, __map_const_iterator, __map_iterator, map<>::mapped_type
#include <memory> // for shared_ptr, unique_ptr
#include <type_traits> // for move
#include <utility> // for pair
#include "logging.h" // for LogPrint, RPC
#include "policy/feerate.h" // for CFeeRate, operator>
#include "primitives/transaction.h" // for CMutableTransaction, CTxOut, CTransactionRef, CTransaction, MakeTransactionRef, CTxIn
#include "script/ismine.h" // for ISMINE_SPENDABLE
#include "sync.h" // for LOCK2, LOCK
#include "threadsafety.h" // for EXCLUSIVE_LOCKS_REQUIRED
#include "tinyformat.h" // for strprintf
#include "uint256.h" // for uint256, operator<, operator==
---
make[2]: *** [wallet/libbitcoin_wallet_a-feebumper.o] Error 27
CXX wallet/libbitcoin_wallet_a-coinselection.o
wallet/init.cpp should add these lines:
#include <boost/filesystem/operations.hpp> // for absolute, exists, is_directory
#include <boost/filesystem/path.hpp> // for path, operator<
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <functional> // for __base
#include <list> // for operator!=, operator==
#include <memory> // for shared_ptr, allocator
#include <set> // for set
#include <string> // for string, operator+
#include <utility> // for pair
#include <vector> // for vector
#include "amount.h" // for CAmount
#include "logging.h" // for LogPrintf
#include "policy/feerate.h" // for CFeeRate, CURRENCY_UNIT, operator<
#include "tinyformat.h" // for strprintf
#include "ui_interface.h" // for InitError, InitWarning, AmountErrMsg, AmountHighWarn, CClientUIInterface, uiInterface
#include "wallet/db.h" // for DEFAULT_WALLET_DBLOGSIZE, DEFAULT_WALLET_PRIVDB
#include "wallet/walletdb.h" // for MaybeCompactWalletDB, DEFAULT_FLUSHWALLET
class CRPCTable;
wallet/init.cpp should remove these lines:
- #include <chainparams.h> // lines 6-6
- #include <init.h> // lines 7-7
The full include-list for wallet/init.cpp:
#include <net.h> // for DEFAULT_BLOCKSONLY
#include <scheduler.h> // for CScheduler
#include <util.h> // for ArgsManager, gArgs, _, OptionsCategory, OptionsCategory::WALLET, OptionsCategory::WALLET_DEBUG_TEST
#include <utilmoneystr.h> // for FormatMoney, ParseMoney
#include <validation.h> // for minRelayTxFee, maxTxFee, HIGH_MAX_TX_FEE, HIGH_TX_FEE_PER_KB
#include <wallet/rpcwallet.h> // for RegisterWalletRPCCommands
#include <wallet/wallet.h> // for GetWallets, CWallet, DEFAULT_DISABLE_WALLET, AddWallet, FormatOutputType, RemoveWallet, DEFAULT_ADDRESS_TYPE, DEFAULT_DISCARD_FEE, DEFAULT_FALLBACK_FEE, DEFAULT_KEYPOOL_SIZE, DEFAULT_PAY_TX_FEE, DEFAULT_SPEND_ZEROCONF_CHANGE, DEFAULT_T...
#include <wallet/walletutil.h> // for GetWalletDir
#include <walletinitinterface.h> // for WalletInitInterface
#include <boost/filesystem/operations.hpp> // for absolute, exists, is_directory
#include <boost/filesystem/path.hpp> // for path, operator<
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <functional> // for __base
#include <list> // for operator!=, operator==
#include <memory> // for shared_ptr, allocator
#include <set> // for set
#include <string> // for string, operator+
#include <utility> // for pair
#include <vector> // for vector
#include "amount.h" // for CAmount
#include "logging.h" // for LogPrintf
#include "policy/feerate.h" // for CFeeRate, CURRENCY_UNIT, operator<
#include "tinyformat.h" // for strprintf
#include "ui_interface.h" // for InitError, InitWarning, AmountErrMsg, AmountHighWarn, CClientUIInterface, uiInterface
#include "wallet/db.h" // for DEFAULT_WALLET_DBLOGSIZE, DEFAULT_WALLET_PRIVDB
#include "wallet/walletdb.h" // for MaybeCompactWalletDB, DEFAULT_FLUSHWALLET
class CRPCTable;
---
make[2]: *** [wallet/libbitcoin_wallet_a-init.o] Error 24
CXX libbitcoin_common_a-base58.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 76325 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT wallet/libbitcoin_wallet_a-rpcdump.o -MD -MP -MF wallet/.deps/libbitcoin_wallet_a-rpcdump.Tpo -c -o wallet/libbitcoin_wallet_a-rpcdump.o `test -f 'wallet/rpcdump.cpp' || echo './'`wallet/rpcdump.cpp
make[2]: *** [wallet/libbitcoin_wallet_a-rpcdump.o] Error 134
CXX libbitcoin_common_a-bech32.o
bech32.h should add these lines:
#include <utility> // for pair
The full include-list for bech32.h:
#include <stdint.h> // for uint8_t
#include <string> // for string
#include <utility> // for pair
#include <vector> // for vector
---
bech32.cpp should add these lines:
#include <stddef.h> // for size_t
#include <cstdint> // for uint8_t
#include <type_traits> // for enable_if<>::type
The full include-list for bech32.cpp:
#include <bech32.h>
#include <stddef.h> // for size_t
#include <cstdint> // for uint8_t
#include <type_traits> // for enable_if<>::type
---
make[2]: *** [libbitcoin_common_a-bech32.o] Error 6
CXX libbitcoin_common_a-chainparams.o
(base58.h has correct #includes/fwd-decls)
base58.cpp should add these lines:
#include <ctype.h> // for isspace
#include <stdint.h> // for int8_t, uint8_t
The full include-list for base58.cpp:
#include <base58.h>
#include <assert.h> // for assert
#include <ctype.h> // for isspace
#include <hash.h> // for Hash
#include <stdint.h> // for int8_t, uint8_t
#include <uint256.h> // for uint256
#include <cstring> // for memcmp, strlen
---
make[2]: *** [libbitcoin_common_a-base58.o] Error 4
CXX libbitcoin_common_a-coins.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 76328 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT wallet/libbitcoin_wallet_a-rpcwallet.o -MD -MP -MF wallet/.deps/libbitcoin_wallet_a-rpcwallet.Tpo -c -o wallet/libbitcoin_wallet_a-rpcwallet.o `test -f 'wallet/rpcwallet.cpp' || echo './'`wallet/rpcwallet.cpp
make[2]: *** [wallet/libbitcoin_wallet_a-rpcwallet.o] Error 134
CXX libbitcoin_common_a-compressor.o
wallet/walletutil.h should add these lines:
#include <boost/filesystem/path.hpp> // for path
wallet/walletutil.h should remove these lines:
- #include <chainparamsbase.h> // lines 8-8
- #include <util.h> // lines 9-9
The full include-list for wallet/walletutil.h:
#include <boost/filesystem/path.hpp> // for path
---
wallet/walletutil.cpp should add these lines:
#include <boost/filesystem/operations.hpp> // for is_directory
#include "util.h" // for GetDataDir, ArgsManager, gArgs
The full include-list for wallet/walletutil.cpp:
#include <wallet/walletutil.h>
#include <boost/filesystem/operations.hpp> // for is_directory
#include "util.h" // for GetDataDir, ArgsManager, gArgs
---
make[2]: *** [wallet/libbitcoin_wallet_a-walletutil.o] Error 7
CXX libbitcoin_common_a-core_read.o
wallet/coinselection.h should add these lines:
#include <set> // for set
#include <stdexcept> // for invalid_argument, out_of_range
#include <vector> // for vector
wallet/coinselection.h should remove these lines:
- #include <random.h> // lines 10-10
The full include-list for wallet/coinselection.h:
#include <amount.h> // for CAmount, CENT
#include <primitives/transaction.h> // for COutPoint, CTxOut, CTransactionRef, CTransaction, operator!=, operator<, operator==
#include <set> // for set
#include <stdexcept> // for invalid_argument, out_of_range
#include <vector> // for vector
---
wallet/coinselection.cpp should add these lines:
#include <assert.h> // for assert
#include <stddef.h> // for size_t
#include <algorithm> // for sort, random_shuffle
#include <boost/optional/optional.hpp> // for optional
#include "amount.h" // for CAmount, MAX_MONEY
#include "logging.h" // for SELECTCOINS, LogAcceptCategory, LogPrint
#include "primitives/transaction.h" // for CTxOut
#include "random.h" // for FastRandomContext, GetRandInt
wallet/coinselection.cpp should remove these lines:
- #include <util.h> // lines 6-6
The full include-list for wallet/coinselection.cpp:
#include <wallet/coinselection.h>
#include <assert.h> // for assert
#include <stddef.h> // for size_t
#include <utilmoneystr.h> // for FormatMoney
#include <algorithm> // for sort, random_shuffle
#include <boost/optional/optional.hpp> // for optional
#include "amount.h" // for CAmount, MAX_MONEY
#include "logging.h" // for SELECTCOINS, LogAcceptCategory, LogPrint
#include "primitives/transaction.h" // for CTxOut
#include "random.h" // for FastRandomContext, GetRandInt
---
make[2]: *** [wallet/libbitcoin_wallet_a-coinselection.o] Error 15
CXX libbitcoin_common_a-core_write.o
coins.h should add these lines:
#include <stddef.h> // for size_t
#include <stdexcept> // for logic_error
#include <type_traits> // for move
#include <vector> // for vector
#include "amount.h" // for CAmount
#include "script/script.h" // for CScript
coins.h should remove these lines:
- #include <core_memusage.h> // lines 11-11
The full include-list for coins.h:
#include <assert.h> // for assert
#include <compressor.h> // for CTxOutCompressor
#include <hash.h> // for SipHashUint256Extra
#include <memusage.h> // for DynamicUsage
#include <primitives/transaction.h> // for COutPoint, operator==, CTxOut, CTransaction
#include <serialize.h> // for REF, Serialize, Unserialize, VARINT
#include <stddef.h> // for size_t
#include <stdint.h> // for uint32_t, uint64_t
#include <uint256.h> // for uint256
#include <stdexcept> // for logic_error
#include <type_traits> // for move
#include <unordered_map> // for unordered_map
#include <vector> // for vector
#include "amount.h" // for CAmount
#include "script/script.h" // for CScript
---
coins.cpp should add these lines:
#include <limits> // for numeric_limits
#include <tuple> // for forward_as_tuple, tie, tuple
#include <utility> // for pair, piecewise_construct
#include "memusage.h" // for DynamicUsage
#include "primitives/transaction.h" // for CTransaction, CTxOut, COutPoint, CTxIn, operator==
#include "serialize.h" // for GetSerializeSize, SER_NETWORK
#include "uint256.h" // for uint256
#include "version.h" // for PROTOCOL_VERSION
The full include-list for coins.cpp:
#include <coins.h>
#include <consensus/consensus.h> // for MAX_BLOCK_WEIGHT, WITNESS_SCALE_FACTOR
#include <random.h> // for GetRand
#include <limits> // for numeric_limits
#include <tuple> // for forward_as_tuple, tie, tuple
#include <utility> // for pair, piecewise_construct
#include "memusage.h" // for DynamicUsage
#include "primitives/transaction.h" // for CTransaction, CTxOut, COutPoint, CTxIn, operator==
#include "serialize.h" // for GetSerializeSize, SER_NETWORK
#include "uint256.h" // for uint256
#include "version.h" // for PROTOCOL_VERSION
---
make[2]: *** [libbitcoin_common_a-coins.o] Error 17
CXX libbitcoin_common_a-key.o
Cycle in include-mapping:
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 76356 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT libbitcoin_common_a-compressor.o -MD -MP -MF .deps/libbitcoin_common_a-compressor.Tpo -c -o libbitcoin_common_a-compressor.o `test -f 'compressor.cpp' || echo './'`compressor.cpp
make[2]: *** [libbitcoin_common_a-compressor.o] Error 134
CXX libbitcoin_common_a-key_io.o
key.h should add these lines:
#include <stdint.h> // for uint32_t
The full include-list for key.h:
#include <pubkey.h> // for BIP32_EXTKEY_SIZE, ChainCode, CExtPubKey, CPubKey
#include <serialize.h> // for ReadCompactSize, WriteCompactSize
#include <stdint.h> // for uint32_t
#include <support/allocators/secure.h> // for secure_allocator
#include <uint256.h> // for operator==, base_blob
#include <cstring> // for memcmp, memcpy, size_t
#include <stdexcept> // for runtime_error
#include <vector> // for vector, vector<>::value_type
---
key.cpp should add these lines:
#include <assert.h> // for assert
#include <stddef.h> // for ptrdiff_t
#include <string> // for string
#include "hash.h" // for BIP32Hash, CHash256
#include "pubkey.h" // for CPubKey, ChainCode, CExtPubKey, BIP32_EXTKEY_SIZE, CPubKey::COMPRESSED_PUBLIC_KEY_SIZE, CPubKey::PUBLIC_KEY_SIZE, CPubKey::SIGNATURE_SIZE, CKeyID, CPubKey::COMPACT_SIGNATURE_SIZE
#include "support/allocators/secure.h" // for secure_allocator
#include "uint256.h" // for uint256
key.cpp should remove these lines:
- #include <arith_uint256.h> // lines 8-8
The full include-list for key.cpp:
#include <key.h>
#include <assert.h> // for assert
#include <crypto/common.h> // for WriteLE32
#include <crypto/hmac_sha512.h> // for CHMAC_SHA512
#include <random.h> // for GetRandBytes, GetStrongRandBytes
#include <secp256k1.h> // for secp256k1_ec_pubkey_serialize, secp256k1_ec_pubkey_create, secp256k1_ec_seckey_verify, secp256k1_context, SECP256K1_EC_COMPRESSED, SECP256K1_EC_UNCOMPRESSED, secp256k1_context_create, secp256k1_context_destroy, secp256k1_context_randomize, secp256k1...
#include <secp256k1_recovery.h> // for secp256k1_ecdsa_recoverable_signature_serialize_compact, secp256k1_ecdsa_sign_recoverable, secp256k1_ecdsa_recoverable_signature
#include <stddef.h> // for ptrdiff_t
#include <string> // for string
#include "hash.h" // for BIP32Hash, CHash256
#include "pubkey.h" // for CPubKey, ChainCode, CExtPubKey, BIP32_EXTKEY_SIZE, CPubKey::COMPRESSED_PUBLIC_KEY_SIZE, CPubKey::PUBLIC_KEY_SIZE, CPubKey::SIGNATURE_SIZE, CKeyID, CPubKey::COMPACT_SIGNATURE_SIZE
#include "support/allocators/secure.h" // for secure_allocator
#include "uint256.h" // for uint256
---
make[2]: *** [libbitcoin_common_a-key.o] Error 11
CXX libbitcoin_common_a-keystore.o
wallet/walletdb.h should add these lines:
#include <boost/filesystem/path.hpp> // for path
#include "pubkey.h" // for CKeyID, CPubKey (ptr only)
#include "serialize.h" // for READWRITE, ADD_SERIALIZE_METHODS
class CDataStream;
wallet/walletdb.h should remove these lines:
- #include <primitives/transaction.h> // lines 10-10
- #include <utility> // lines 17-17
The full include-list for wallet/walletdb.h:
#include <amount.h> // for CAmount
#include <key.h> // for CPrivKey
#include <stdint.h> // for int64_t, uint32_t, uint64_t
#include <wallet/db.h> // for BerkeleyBatch, BerkeleyDatabase
#include <boost/filesystem/path.hpp> // for path
#include <list> // for list
#include <string> // for string
#include <vector> // for vector
#include "pubkey.h" // for CKeyID, CPubKey (ptr only)
#include "serialize.h" // for READWRITE, ADD_SERIALIZE_METHODS
class CAccount; // lines 34-34
class CAccountingEntry; // lines 35-35
class CDataStream;
class CKeyPool; // lines 37-37
class CMasterKey; // lines 38-38
class CScript; // lines 39-39
class CWallet; // lines 40-40
class CWalletTx; // lines 41-41
class uint160; // lines 42-42
class uint256; // lines 43-43
struct CBlockLocator; // lines 36-36
---
wallet/walletdb.cpp should add these lines:
#include <algorithm> // for sort
#include <boost/thread/exceptions.hpp> // for thread_interrupted
#include <exception> // for exception
#include <ios> // for ios_base::failure
#include <map> // for map, map<>::mapped_type
#include <memory> // for shared_ptr
#include <stdexcept> // for runtime_error
#include <utility> // for make_pair, pair, __make_pair_return<>::type
#include "amount.h" // for CAmount
#include "clientversion.h" // for CLIENT_VERSION
#include "db.h" // for DB_NOTFOUND
#include "db_cxx.h" // for Dbc
#include "hash.h" // for Hash
#include "key.h" // for CPrivKey, CKey
#include "logging.h" // for LogPrintf, DB, LogPrint
#include "primitives/block.h" // for CBlockLocator
#include "primitives/transaction.h" // for MakeTransactionRef
#include "script/script.h" // for CScript
#include "script/standard.h" // for CTxDestination, operator<, CScriptID
#include "streams.h" // for CDataStream
#include "threadsafety.h" // for EXCLUSIVE_LOCKS_REQUIRED
#include "tinyformat.h" // for strprintf
#include "uint256.h" // for uint256, operator<, operator==, base_blob, operator!=, uint160
#include "wallet/crypter.h" // for CMasterKey
#include "wallet/db.h" // for BerkeleyBatch
wallet/walletdb.cpp should remove these lines:
- #include <fs.h> // lines 10-10
- #include <protocol.h> // lines 12-12
- #include <boost/thread.hpp> // lines 21-21
The full include-list for wallet/walletdb.cpp:
#include <wallet/walletdb.h>
#include <consensus/tx_verify.h> // for CheckTransaction
#include <consensus/validation.h> // for CValidationState
#include <key_io.h> // for DecodeDestination
#include <serialize.h> // for SER_DISK
#include <sync.h> // for LOCK
#include <util.h> // for ArgsManager, gArgs
#include <utiltime.h> // for GetTime
#include <wallet/wallet.h> // for CWalletTx, CWallet, CAccountingEntry, CWallet::TxPair, CAccount, CKeyPool, GetWallets, CAddressBookData, CWallet::MasterKeyMap, CWalletKey, CWallet::TxItems
#include <algorithm> // for sort
#include <atomic> // for atomic
#include <boost/thread/exceptions.hpp> // for thread_interrupted
#include <exception> // for exception
#include <ios> // for ios_base::failure
#include <map> // for map, map<>::mapped_type
#include <memory> // for shared_ptr
#include <stdexcept> // for runtime_error
#include <utility> // for make_pair, pair, __make_pair_return<>::type
#include "amount.h" // for CAmount
#include "clientversion.h" // for CLIENT_VERSION
#include "db.h" // for DB_NOTFOUND
#include "db_cxx.h" // for Dbc
#include "hash.h" // for Hash
#include "key.h" // for CPrivKey, CKey
#include "logging.h" // for LogPrintf, DB, LogPrint
#include "primitives/block.h" // for CBlockLocator
#include "primitives/transaction.h" // for MakeTransactionRef
#include "script/script.h" // for CScript
#include "script/standard.h" // for CTxDestination, operator<, CScriptID
#include "streams.h" // for CDataStream
#include "threadsafety.h" // for EXCLUSIVE_LOCKS_REQUIRED
#include "tinyformat.h" // for strprintf
#include "uint256.h" // for uint256, operator<, operator==, base_blob, operator!=, uint160
#include "wallet/crypter.h" // for CMasterKey
#include "wallet/db.h" // for BerkeleyBatch
---
make[2]: *** [wallet/libbitcoin_wallet_a-walletdb.o] Error 36
CXX libbitcoin_common_a-netaddress.o
Cycle in include-mapping:
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 76368 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT libbitcoin_common_a-key_io.o -MD -MP -MF .deps/libbitcoin_common_a-key_io.Tpo -c -o libbitcoin_common_a-key_io.o `test -f 'key_io.cpp' || echo './'`key_io.cpp
make[2]: *** [libbitcoin_common_a-key_io.o] Error 134
CXX libbitcoin_common_a-netbase.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 76362 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT libbitcoin_common_a-core_write.o -MD -MP -MF .deps/libbitcoin_common_a-core_write.Tpo -c -o libbitcoin_common_a-core_write.o `test -f 'core_write.cpp' || echo './'`core_write.cpp
make[2]: *** [libbitcoin_common_a-core_write.o] Error 134
CXX policy/libbitcoin_common_a-feerate.o
netaddress.h should add these lines:
#include <sys/socket.h> // for socklen_t
netaddress.h should remove these lines:
- #include <compat.h> // lines 12-12
- #include <config/bitcoin-config.h> // lines 9-9
- #include <span.h> // lines 14-14
The full include-list for netaddress.h:
#include <serialize.h> // for READWRITE, ADD_SERIALIZE_METHODS, WrapBigEndian
#include <stdint.h> // for uint32_t, uint8_t, int32_t, uint16_t, uint64_t
#include <sys/socket.h> // for socklen_t
#include <string> // for string
#include <vector> // for vector
---
netaddress.cpp should add these lines:
#include <assert.h> // for assert
#include <netdb.h> // for getnameinfo, NI_NUMERICHOST
#include <netinet/in.h> // for sockaddr_in6, sockaddr_in, INADDR_NONE
#include "crypto/sha256.h" // for CSHA256
#include "i386/endian.h" // for htons, ntohs
#include "uint256.h" // for uint256
The full include-list for netaddress.cpp:
#include <netaddress.h>
#include <assert.h> // for assert
#include <hash.h> // for Hash
#include <netdb.h> // for getnameinfo, NI_NUMERICHOST
#include <netinet/in.h> // for sockaddr_in6, sockaddr_in, INADDR_NONE
#include <tinyformat.h> // for strprintf
#include <utilstrencodings.h> // for EncodeBase32, DecodeBase32
#include <cstring> // for memcmp, memcpy, memset
#include "crypto/sha256.h" // for CSHA256
#include "i386/endian.h" // for htons, ntohs
#include "uint256.h" // for uint256
---
make[2]: *** [libbitcoin_common_a-netaddress.o] Error 12
CXX libbitcoin_common_a-protocol.o
chainparams.h should add these lines:
#include <stdint.h> // for int64_t, uint64_t, uint16_t, uint8_t
#include <map> // for map, map<>::value_compare
#include <string> // for string
#include "uint256.h" // for uint256
chainparams.h should remove these lines:
- #include <chainparamsbase.h> // lines 9-9
The full include-list for chainparams.h:
#include <consensus/params.h> // for DeploymentPos, Params
#include <primitives/block.h> // for CBlock
#include <protocol.h> // for CMessageHeader, CMessageHeader::MessageStartChars
#include <stdint.h> // for int64_t, uint64_t, uint16_t, uint8_t
#include <map> // for map, map<>::value_compare
#include <memory> // for unique_ptr
#include <string> // for string
#include <vector> // for vector
#include "uint256.h" // for uint256
---
chainparams.cpp should add these lines:
#include <stdexcept> // for runtime_error
#include <type_traits> // for move
#include "amount.h" // for COIN, CAmount
#include "chainparamsbase.h" // for CBaseChainParams, SelectBaseParams, CBaseChainParams::MAIN, CBaseChainParams::REGTEST, CBaseChainParams::TESTNET
#include "consensus/params.h" // for Params, BIP9Deployment, DEPLOYMENT_CSV, DEPLOYMENT_SEGWIT, DEPLOYMENT_TESTDUMMY, BIP9Deployment::NO_TIMEOUT, DeploymentPos, BIP9Deployment::ALWAYS_ACTIVE
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CTransactionRef, CMutableTransaction, CTxIn, CTxOut, MakeTransactionRef
#include "script/script.h" // for CScript, CScriptNum, OP_CHECKSIG
chainparams.cpp should remove these lines:
- #include <util.h> // lines 10-10
The full include-list for chainparams.cpp:
#include <chainparams.h>
#include <assert.h> // for assert
#include <chainparamsseeds.h> // for pnSeed6_main, pnSeed6_test
#include <consensus/merkle.h> // for BlockMerkleRoot
#include <tinyformat.h> // for strprintf
#include <utilstrencodings.h> // for ParseHex, ARRAYLEN
#include <cstring> // for strlen
#include <stdexcept> // for runtime_error
#include <type_traits> // for move
#include "amount.h" // for COIN, CAmount
#include "chainparamsbase.h" // for CBaseChainParams, SelectBaseParams, CBaseChainParams::MAIN, CBaseChainParams::REGTEST, CBaseChainParams::TESTNET
#include "consensus/params.h" // for Params, BIP9Deployment, DEPLOYMENT_CSV, DEPLOYMENT_SEGWIT, DEPLOYMENT_TESTDUMMY, BIP9Deployment::NO_TIMEOUT, DeploymentPos, BIP9Deployment::ALWAYS_ACTIVE
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CTransactionRef, CMutableTransaction, CTxIn, CTxOut, MakeTransactionRef
#include "script/script.h" // for CScript, CScriptNum, OP_CHECKSIG
---
make[2]: *** [libbitcoin_common_a-chainparams.o] Error 16
CXX libbitcoin_common_a-scheduler.o
policy/feerate.h should add these lines:
#include <stddef.h> // for size_t
#include <type_traits> // for is_integral
The full include-list for policy/feerate.h:
#include <amount.h> // for CAmount
#include <serialize.h> // for ADD_SERIALIZE_METHODS, READWRITE
#include <stddef.h> // for size_t
#include <string> // for string
#include <type_traits> // for is_integral
---
policy/feerate.cpp should add these lines:
#include <assert.h> // for assert
#include <stdint.h> // for int64_t, uint64_t
#include <limits> // for numeric_limits
#include "amount.h" // for CAmount, COIN
The full include-list for policy/feerate.cpp:
#include <policy/feerate.h>
#include <assert.h> // for assert
#include <stdint.h> // for int64_t, uint64_t
#include <tinyformat.h> // for strprintf
#include <limits> // for numeric_limits
#include "amount.h" // for CAmount, COIN
---
make[2]: *** [policy/libbitcoin_common_a-feerate.o] Error 8
CXX script/libbitcoin_common_a-ismine.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 76371 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT libbitcoin_common_a-keystore.o -MD -MP -MF .deps/libbitcoin_common_a-keystore.Tpo -c -o libbitcoin_common_a-keystore.o `test -f 'keystore.cpp' || echo './'`keystore.cpp
make[2]: *** [libbitcoin_common_a-keystore.o] Error 134
CXX script/libbitcoin_common_a-sign.o
core_read.cpp should add these lines:
#include <stdint.h> // for int64_t
#include <boost/algorithm/string/constants.hpp> // for token_compress_on
#include <boost/algorithm/string/detail/classification.hpp> // for is_any_ofF, is_classifiedF
#include <boost/iterator/iterator_facade.hpp> // for operator!=
#include <boost/type_index/type_index_facade.hpp> // for operator==
#include <exception> // for exception
#include <map> // for map
#include <stdexcept> // for runtime_error
#include <string> // for string, basic_string, operator+, allocator, char_traits
#include <vector> // for vector, vector<>::const_iterator
#include "uint256.h" // for uint256
class CBlock;
core_read.cpp should remove these lines:
- #include <primitives/block.h> // lines 7-7
- #include <util.h> // lines 13-13
The full include-list for core_read.cpp:
#include <core_io.h> // for DecodeHexBlk, DecodeHexTx, ParseHashStr, ParseHexUV, ParseScript
#include <primitives/transaction.h> // for CMutableTransaction, CTxIn, CTxOut, CTransaction, SERIALIZE_TRANSACTION_NO_WITNESS
#include <script/script.h> // for CScript, opcodetype, GetOpName, MAX_SCRIPT_SIZE, MAX_OPCODE, OP_NOP, OP_RESERVED
#include <serialize.h> // for SER_NETWORK
#include <stdint.h> // for int64_t
#include <streams.h> // for CDataStream
#include <univalue.h> // for UniValue
#include <utilstrencodings.h> // for IsHex, ParseHex, atoi64
#include <version.h> // for PROTOCOL_VERSION
#include <boost/algorithm/string/classification.hpp> // for is_digit, is_any_of
#include <boost/algorithm/string/constants.hpp> // for token_compress_on
#include <boost/algorithm/string/detail/classification.hpp> // for is_any_ofF, is_classifiedF
#include <boost/algorithm/string/predicate.hpp> // for starts_with, all, ends_with
#include <boost/algorithm/string/replace.hpp> // for replace_first
#include <boost/algorithm/string/split.hpp> // for split
#include <boost/iterator/iterator_facade.hpp> // for operator!=
#include <boost/type_index/type_index_facade.hpp> // for operator==
#include <cstring> // for strcmp
#include <exception> // for exception
#include <map> // for map
#include <stdexcept> // for runtime_error
#include <string> // for string, basic_string, operator+, allocator, char_traits
#include <vector> // for vector, vector<>::const_iterator
#include "uint256.h" // for uint256
class CBlock;
---
make[2]: *** [libbitcoin_common_a-core_read.o] Error 16
CXX script/libbitcoin_common_a-standard.o
Cycle in include-mapping:
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 76392 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT script/libbitcoin_common_a-sign.o -MD -MP -MF script/.deps/libbitcoin_common_a-sign.Tpo -c -o script/libbitcoin_common_a-sign.o `test -f 'script/sign.cpp' || echo './'`script/sign.cpp
make[2]: *** [script/libbitcoin_common_a-sign.o] Error 134
CXX libbitcoin_common_a-warnings.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 76389 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT script/libbitcoin_common_a-ismine.o -MD -MP -MF script/.deps/libbitcoin_common_a-ismine.Tpo -c -o script/libbitcoin_common_a-ismine.o `test -f 'script/ismine.cpp' || echo './'`script/ismine.cpp
make[2]: *** [script/libbitcoin_common_a-ismine.o] Error 134
CXX lib/libunivalue_la-univalue.lo
wallet/wallet.h should add these lines:
#include <assert.h> // for assert
#include <stddef.h> // for size_t
#include <boost/filesystem/path.hpp> // for path
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/signals2/optional_last_value.hpp> // for optional_last_value
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/smart_ptr/shared_ptr.hpp> // for shared_ptr
#include <ios> // for ios_base, ios_base::failure
#include <list> // for operator!=, list
#include <mutex> // for mutex, lock_guard
#include <type_traits> // for move, enable_if<>::type
#include "key.h" // for CKey (ptr only), CPrivKey
#include "primitives/transaction.h" // for COutPoint, CTransactionRef, CTransaction, CTxOut, CMutableTransaction (ptr only), CTxIn (ptr only), MakeTransactionRef, operator<
#include "pubkey.h" // for CPubKey, CKeyID
#include "script/script.h" // for CReserveScript, CScript
#include "script/standard.h" // for CTxDestination, CScriptID
#include "serialize.h" // for READWRITE, SER_GETHASH, ADD_SERIALIZE_METHODS, LIMITED_STRING, LimitedString
#include "support/allocators/secure.h" // for SecureString
#include "sync.h" // for AssertLockHeld, LOCK, CCriticalSection
#include "threadsafety.h" // for EXCLUSIVE_LOCKS_REQUIRED, LOCKS_EXCLUDED
#include "uint256.h" // for uint256, operator==, base_blob, operator<
class CAccountingEntry;
class CBlock;
class CConnman;
class CInputCoin;
class CValidationState;
class CWallet;
struct CBlockLocator;
wallet/wallet.h should remove these lines:
- #include <script/sign.h> // lines 17-17
- #include <util.h> // lines 18-18
- #include <wallet/coinselection.h> // lines 20-20
- #include <wallet/rpcwallet.h> // lines 22-22
- #include <stdexcept> // lines 29-29
- class CBlockPolicyEstimator; // lines 72-72
- class COutput; // lines 68-68
- class CScript; // lines 70-70
- class CTxMemPool; // lines 71-71
- class CWalletTx; // lines 73-73
- struct FeeCalculation; // lines 74-74
The full include-list for wallet/wallet.h:
#include <amount.h> // for CAmount, MAX_MONEY
#include <assert.h> // for assert
#include <policy/feerate.h> // for CFeeRate
#include <script/ismine.h> // for isminefilter, isminetype
#include <stddef.h> // for size_t
#include <stdint.h> // for int64_t, uint64_t
#include <streams.h> // for CDataStream
#include <tinyformat.h> // for strprintf
#include <ui_interface.h> // for ChangeType
#include <utilstrencodings.h> // for atoi64, i64tostr
#include <validationinterface.h> // for CValidationInterface
#include <wallet/crypter.h> // for CMasterKey, CCryptoKeyStore
#include <wallet/walletdb.h> // for WalletDatabase, CKeyMetadata, DBErrors, CHDChain, WalletBatch
#include <algorithm> // for copy, max
#include <atomic> // for atomic
#include <boost/filesystem/path.hpp> // for path
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/signals2/optional_last_value.hpp> // for optional_last_value
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/smart_ptr/shared_ptr.hpp> // for shared_ptr
#include <ios> // for ios_base, ios_base::failure
#include <list> // for operator!=, list
#include <map> // for __tree_const_iterator, map, operator!=, map<>::mapped_type, map<>::value_compare, multimap, map<>::iterator, multimap<>::value_compare, __map_iterator, __tree_key_value_types<>::__map_value_type, multimap<>::const_iterator
#include <memory> // for shared_ptr, unique_ptr
#include <mutex> // for mutex, lock_guard
#include <set> // for set
#include <string> // for string, basic_string
#include <type_traits> // for move, enable_if<>::type
#include <utility> // for pair
#include <vector> // for vector
#include "key.h" // for CKey (ptr only), CPrivKey
#include "primitives/transaction.h" // for COutPoint, CTransactionRef, CTransaction, CTxOut, CMutableTransaction (ptr only), CTxIn (ptr only), MakeTransactionRef, operator<
#include "pubkey.h" // for CPubKey, CKeyID
#include "script/script.h" // for CReserveScript, CScript
#include "script/standard.h" // for CTxDestination, CScriptID
#include "serialize.h" // for READWRITE, SER_GETHASH, ADD_SERIALIZE_METHODS, LIMITED_STRING, LimitedString
#include "support/allocators/secure.h" // for SecureString
#include "sync.h" // for AssertLockHeld, LOCK, CCriticalSection
#include "threadsafety.h" // for EXCLUSIVE_LOCKS_REQUIRED, LOCKS_EXCLUDED
#include "uint256.h" // for uint256, operator==, base_blob, operator<
class CAccountingEntry;
class CBlock;
class CBlockIndex; // lines 66-66
class CCoinControl; // lines 67-67
class CConnman;
class CInputCoin;
class CReserveKey; // lines 69-69
class CValidationState;
class CWallet;
class WalletRescanReserver; // lines 672-672
struct CBlockLocator;
---
protocol.h should add these lines:
#include <stddef.h> // for size_t
#include <vector> // for vector
protocol.h should remove these lines:
- #include <atomic> // lines 18-18
The full include-list for protocol.h:
#include <netaddress.h> // for CService
#include <serialize.h> // for READWRITE, ADD_SERIALIZE_METHODS, SER_DISK, READWRITEAS, SER_GETHASH
#include <stddef.h> // for size_t
#include <stdint.h> // for uint32_t, uint64_t, uint8_t
#include <uint256.h> // for uint256
#include <version.h> // for CADDR_TIME_VERSION
#include <string> // for string
#include <vector> // for vector
---
protocol.cpp should add these lines:
#include <atomic> // for atomic
#include <stdexcept> // for out_of_range
#include "logging.h" // for LogPrintf
#include "netaddress.h" // for CService
#include "serialize.h" // for MAX_SIZE
#include "tinyformat.h" // for strprintf
#include "uint256.h" // for uint256, operator<, base_blob
protocol.cpp should remove these lines:
- #include <arpa/inet.h> // lines 12-12
- #include <util.h> // lines 8-8
The full include-list for protocol.cpp:
#include <protocol.h>
#include <utilstrencodings.h> // for ARRAYLEN
#include <atomic> // for atomic
#include <cstring> // for memset, memcpy, memcmp, strncpy, strnlen
#include <stdexcept> // for out_of_range
#include "logging.h" // for LogPrintf
#include "netaddress.h" // for CService
#include "serialize.h" // for MAX_SIZE
#include "tinyformat.h" // for strprintf
#include "uint256.h" // for uint256, operator<, base_blob
---
make[2]: *** [libbitcoin_common_a-protocol.o] Error 14
CXX support/libbitcoin_util_a-lockedpool.o
scheduler.h should add these lines:
#include <stddef.h> // for size_t
#include <stdint.h> // for int64_t
#include <boost/chrono/system_clocks.hpp> // for system_clock, system_clock::time_point
#include <boost/thread/pthread/condition_variable_fwd.hpp> // for condition_variable
#include <boost/thread/pthread/mutex.hpp> // for mutex
#include <functional> // for function
#include <list> // for list
#include "threadsafety.h" // for GUARDED_BY
scheduler.h should remove these lines:
- #include <boost/chrono/chrono.hpp> // lines 13-13
- #include <boost/thread.hpp> // lines 14-14
The full include-list for scheduler.h:
#include <stddef.h> // for size_t
#include <stdint.h> // for int64_t
#include <sync.h> // for CCriticalSection
#include <boost/chrono/system_clocks.hpp> // for system_clock, system_clock::time_point
#include <boost/thread/pthread/condition_variable_fwd.hpp> // for condition_variable
#include <boost/thread/pthread/mutex.hpp> // for mutex
#include <functional> // for function
#include <list> // for list
#include <map> // for multimap
#include "threadsafety.h" // for GUARDED_BY
---
scheduler.cpp should add these lines:
#include <boost/bind/bind.hpp> // for bind, bind_t
#include <boost/chrono/duration.hpp> // for milliseconds
#include <boost/chrono/time_point.hpp> // for time_point, operator<, operator+
#include <boost/cstdint.hpp> // for int64_t
#include <boost/thread/cv_status.hpp> // for cv_status, cv_status::timeout
#include <boost/thread/lock_types.hpp> // for unique_lock
#include <boost/thread/pthread/condition_variable.hpp> // for condition_variable::notify_one, condition_variable::notify_all, condition_variable::wait
#include <boost/version.hpp> // for BOOST_VERSION
#include <iterator> // for reverse_iterator
#include <type_traits> // for swap, move
#include "sync.h" // for LOCK
scheduler.cpp should remove these lines:
- #include <boost/bind.hpp> // lines 11-11
The full include-list for scheduler.cpp:
#include <scheduler.h>
#include <assert.h> // for assert
#include <random.h> // for RandAddSeedSleep
#include <reverselock.h> // for reverse_lock
#include <boost/bind/bind.hpp> // for bind, bind_t
#include <boost/chrono/duration.hpp> // for milliseconds
#include <boost/chrono/time_point.hpp> // for time_point, operator<, operator+
#include <boost/cstdint.hpp> // for int64_t
#include <boost/thread/cv_status.hpp> // for cv_status, cv_status::timeout
#include <boost/thread/lock_types.hpp> // for unique_lock
#include <boost/thread/pthread/condition_variable.hpp> // for condition_variable::notify_one, condition_variable::notify_all, condition_variable::wait
#include <boost/version.hpp> // for BOOST_VERSION
#include <iterator> // for reverse_iterator
#include <type_traits> // for swap, move
#include <utility> // for pair, make_pair
#include "sync.h" // for LOCK
---
make[2]: *** [libbitcoin_common_a-scheduler.o] Error 24
CXX lib/libunivalue_la-univalue_get.lo
wallet/wallet.cpp should add these lines:
#include <boost/filesystem/operations.hpp> // for absolute, is_directory, symlink_status, directory_file, file_not_found, file_status, file_type, regular_file, symlink_file
#include <boost/function/function_template.hpp> // for function
#include <boost/iterator/iterator_facade.hpp> // for operator!=
#include <boost/iterator/iterator_traits.hpp> // for iterator_value<>::type
#include <boost/optional/optional.hpp> // for optional
#include <boost/variant/detail/apply_visitor_unary.hpp> // for apply_visitor
#include <boost/variant/get.hpp> // for get
#include <boost/variant/static_visitor.hpp> // for static_visitor
#include <boost/variant/variant.hpp> // for variant
#include <cstdint> // for int64_t
#include <iterator> // for reverse_iterator, end, operator!=
#include <limits> // for numeric_limits
#include <stdexcept> // for runtime_error
#include <thread> // for thread
#include "amount.h" // for CAmount, MoneyRange, MAX_MONEY
#include "chainparams.h" // for Params, CChainParams
#include "clientversion.h" // for CLIENT_VERSION
#include "config/bitcoin-config.h" // for PACKAGE_NAME
#include "crypto/ripemd160.h" // for CRIPEMD160
#include "hash.h" // for Hash160
#include "logging.h" // for LogPrintf
#include "policy/feerate.h" // for CFeeRate, operator<
#include "prevector.h" // for prevector
#include "protocol.h" // for CInv, MSG_TX
#include "random.h" // for GetRandInt, FastRandomContext, GetStrongRandBytes, GetRand
#include "script/interpreter.h" // for SIGHASH_ALL
#include "script/ismine.h" // for IsMine, ISMINE_SPENDABLE, isminefilter, ISMINE_WATCH_ONLY, ISMINE_NO, ISMINE_ALL, isminetype
#include "script/sign.h" // for IsSolvable, ProduceSignature, UpdateInput, MutableTransactionSignatureCreator, SignatureData, DUMMY_SIGNATURE_CREATOR
#include "tinyformat.h" // for strprintf
#include "ui_interface.h" // for InitError, InitWarning, AmountHighWarn, AmountErrMsg, CT_UPDATED, CClientUIInterface, uiInterface, CT_NEW, CT_DELETED
#include "util.h" // for _, ArgsManager, gArgs, MakeUnique, runCommand
#include "utiltime.h" // for GetTimeMillis, GetTime
#include "validationinterface.h" // for RegisterValidationInterface, SyncWithValidationInterfaceQueue
#include "version.h" // for PROTOCOL_VERSION
#include "wallet/coinselection.h" // for CInputCoin, KnapsackSolver, SelectCoinsBnB, MIN_FINAL_CHANGE
#include "wallet/crypter.h" // for CMasterKey, CCrypter, CCryptoKeyStore, CKeyingMaterial, WALLET_CRYPTO_KEY_SIZE, WALLET_CRYPTO_SALT_SIZE
#include "wallet/db.h" // for BerkeleyDatabase
#include "wallet/walletdb.h" // for WalletBatch, DBErrors, CHDChain, CKeyMetadata, DBErrors::LOAD_OK, WalletDatabase, DBErrors::LOAD_FAIL, DBErrors::NEED_REWRITE, CHDChain::VERSION_HD_BASE, CHDChain::VERSION_HD_CHAIN_SPLIT, DBErrors::CORRUPT, DBErrors::NONCRITICAL_ERROR
wallet/wallet.cpp should remove these lines:
- #include <checkpoints.h> // lines 8-8
- #include <fs.h> // lines 13-13
- #include <future> // lines 34-34
The full include-list for wallet/wallet.cpp:
#include <wallet/wallet.h>
#include <assert.h> // for assert
#include <chain.h> // for CBlockIndex, CChain, TIMESTAMP_WINDOW, BLOCK_HAVE_DATA
#include <consensus/consensus.h> // for COINBASE_MATURITY
#include <consensus/validation.h> // for GetTransactionWeight, CValidationState
#include <key.h> // for CKey, CExtKey
#include <key_io.h> // for EncodeDestination
#include <keystore.h> // for CKeyStore, CryptedKeyMap, KeyMap, ScriptMap, WatchKeyMap, WatchOnlySet
#include <net.h> // for CConnman, CNode
#include <policy/fees.h> // for FeeCalculation, EstimationResult, EstimatorBucket, StringForFeeReason, FeeReason, FeeReason::FALLBACK
#include <policy/policy.h> // for IsDust, GetDustThreshold, GetVirtualTransactionInputSize, GetVirtualTransactionSize, MAX_STANDARD_TX_WEIGHT, dustRelayFee
#include <policy/rbf.h> // for MAX_BIP125_RBF_SEQUENCE
#include <primitives/block.h> // for CBlock, CBlockLocator
#include <primitives/transaction.h> // for CTxOut, CTransaction, COutPoint, CTransactionRef, CTxIn, CMutableTransaction, operator<, MakeTransactionRef, operator==, CTxIn::SEQUENCE_FINAL
#include <script/script.h> // for CScript, MAX_SCRIPT_ELEMENT_SIZE, ToByteVector, CReserveScript, LOCKTIME_THRESHOLD, OP_CHECKSIG
#include <shutdown.h> // for ShutdownRequested
#include <timedata.h> // for GetAdjustedTime
#include <txmempool.h> // for CTxMemPool, CTxMemPool::setEntries, CTxMemPoolEntry, LockPoints
#include <utilmoneystr.h> // for ParseMoney, FormatMoney
#include <validation.h> // for chainActive, cs_main, GuessVerificationProgress, LookupBlockIndex, CheckFinalTx, mempool, FormatStateMessage, feeEstimator, HIGH_TX_FEE_PER_KB, AcceptToMemoryPool, FindForkInGlobalIndex, ReadBlockFromDisk, maxTxFee, minRelayTxFee
#include <wallet/coincontrol.h> // for CCoinControl
#include <wallet/fees.h> // for GetDiscardRate, GetMinimumFee, GetMinimumFeeRate
#include <wallet/walletutil.h> // for GetWalletDir
#include <algorithm> // for max, min, find, shuffle
#include <boost/algorithm/string/replace.hpp> // for replace_all
#include <boost/filesystem/operations.hpp> // for absolute, is_directory, symlink_status, directory_file, file_not_found, file_status, file_type, regular_file, symlink_file
#include <boost/function/function_template.hpp> // for function
#include <boost/iterator/iterator_facade.hpp> // for operator!=
#include <boost/iterator/iterator_traits.hpp> // for iterator_value<>::type
#include <boost/optional/optional.hpp> // for optional
#include <boost/variant/detail/apply_visitor_unary.hpp> // for apply_visitor
#include <boost/variant/get.hpp> // for get
#include <boost/variant/static_visitor.hpp> // for static_visitor
#include <boost/variant/variant.hpp> // for variant
#include <cstdint> // for int64_t
#include <iterator> // for reverse_iterator, end, operator!=
#include <limits> // for numeric_limits
#include <stdexcept> // for runtime_error
#include <thread> // for thread
#include "amount.h" // for CAmount, MoneyRange, MAX_MONEY
#include "chainparams.h" // for Params, CChainParams
#include "clientversion.h" // for CLIENT_VERSION
#include "config/bitcoin-config.h" // for PACKAGE_NAME
#include "crypto/ripemd160.h" // for CRIPEMD160
#include "hash.h" // for Hash160
#include "logging.h" // for LogPrintf
#include "policy/feerate.h" // for CFeeRate, operator<
#include "prevector.h" // for prevector
#include "protocol.h" // for CInv, MSG_TX
#include "random.h" // for GetRandInt, FastRandomContext, GetStrongRandBytes, GetRand
#include "script/interpreter.h" // for SIGHASH_ALL
#include "script/ismine.h" // for IsMine, ISMINE_SPENDABLE, isminefilter, ISMINE_WATCH_ONLY, ISMINE_NO, ISMINE_ALL, isminetype
#include "script/sign.h" // for IsSolvable, ProduceSignature, UpdateInput, MutableTransactionSignatureCreator, SignatureData, DUMMY_SIGNATURE_CREATOR
#include "tinyformat.h" // for strprintf
#include "ui_interface.h" // for InitError, InitWarning, AmountHighWarn, AmountErrMsg, CT_UPDATED, CClientUIInterface, uiInterface, CT_NEW, CT_DELETED
#include "util.h" // for _, ArgsManager, gArgs, MakeUnique, runCommand
#include "utiltime.h" // for GetTimeMillis, GetTime
#include "validationinterface.h" // for RegisterValidationInterface, SyncWithValidationInterfaceQueue
#include "version.h" // for PROTOCOL_VERSION
#include "wallet/coinselection.h" // for CInputCoin, KnapsackSolver, SelectCoinsBnB, MIN_FINAL_CHANGE
#include "wallet/crypter.h" // for CMasterKey, CCrypter, CCryptoKeyStore, CKeyingMaterial, WALLET_CRYPTO_KEY_SIZE, WALLET_CRYPTO_SALT_SIZE
#include "wallet/db.h" // for BerkeleyDatabase
#include "wallet/walletdb.h" // for WalletBatch, DBErrors, CHDChain, CKeyMetadata, DBErrors::LOAD_OK, WalletDatabase, DBErrors::LOAD_FAIL, DBErrors::NEED_REWRITE, CHDChain::VERSION_HD_BASE, CHDChain::VERSION_HD_CHAIN_SPLIT, DBErrors::CORRUPT, DBErrors::NONCRITICAL_ERROR
---
netbase.h should add these lines:
#include <sys/time.h> // for timeval
netbase.h should remove these lines:
- #include <config/bitcoin-config.h> // lines 9-9
- #include <serialize.h> // lines 14-14
The full include-list for netbase.h:
#include <compat.h> // for SOCKET
#include <netaddress.h> // for CService, Network
#include <stdint.h> // for int64_t
#include <sys/time.h> // for timeval
#include <string> // for string
#include <vector> // for vector
---
make[2]: *** [wallet/libbitcoin_wallet_a-wallet.o] Error 83
CXX lib/libunivalue_la-univalue_read.lo
lib/univalue.cpp should add these lines:
#include <map> // for map, map<>::const_iterator, operator!=, __map_const_iterator, map<>::mapped_type
#include <string> // for string, operator==, basic_string<>::value_type
#include <utility> // for pair
#include <vector> // for vector, __vector_base<>::value_type
The full include-list for lib/univalue.cpp:
#include <stdint.h> // for int64_t, uint64_t
#include <stdlib.h> // for size_t, NULL
#include <iomanip> // for operator<<, setprecision
#include <map> // for map, map<>::const_iterator, operator!=, __map_const_iterator, map<>::mapped_type
#include <sstream> // for string, ostringstream, basic_ostream
#include <string> // for string, operator==, basic_string<>::value_type
#include <utility> // for pair
#include <vector> // for vector, __vector_base<>::value_type
#include "univalue.h" // for UniValue, UniValue::VOBJ, UniValue::VARR, UniValue::VType, UniValue::VNUM, getJsonToken, UniValue::VBOOL, UniValue::VNULL, UniValue::VSTR, find_value, JTOK_NUMBER, jtokentype, uvTypeName
---
make[3]: *** [lib/libunivalue_la-univalue.lo] Error 1
CXX libbitcoin_util_a-chainparamsbase.o
netbase.cpp should add these lines:
#include <assert.h> // for assert
#include <netdb.h> // for addrinfo, freeaddrinfo, getaddrinfo, AI_ADDRCONFIG, AI_NUMERICHOST
#include <netinet/in.h> // for IPPROTO_TCP, sockaddr_in6, sockaddr_in
#include <netinet/tcp.h> // for TCP_NODELAY
#include <sys/fcntl.h> // for fcntl, F_GETFL, F_SETFL, O_NONBLOCK
#include <sys/select.h> // for select, timeval, fd_set, FD_SET, FD_ZERO
#include <sys/socket.h> // for send, setsockopt, sockaddr_storage, connect, getsockopt, recv, socket, socklen_t, SOCK_STREAM, SOL_SOCKET, SO_NOSIGPIPE, AF_INET, AF_INET6, AF_UNSPEC, SO_ERROR, sockaddr
#include <unistd.h> // for close
#include <algorithm> // for min
#include <cstdint> // for uint8_t
#include "compat.h" // for SOCKET, INVALID_SOCKET, SOCKET_ERROR, WSAGetLastError, IsSelectableSocket, WSAEINPROGRESS, WSAEINVAL, WSAEWOULDBLOCK, sockopt_arg_type
#include "logging.h" // for LogPrintf, LogPrint, NET, PROXY
#include "netaddress.h" // for CNetAddr, CService, CSubNet, NET_MAX, Network, NET_ONION, operator==, NET_IPV4, NET_IPV6, NET_UNROUTABLE
#include "utiltime.h" // for GetTimeMillis
netbase.cpp should remove these lines:
- #include <fcntl.h> // lines 20-20
- #include <hash.h> // lines 8-8
- #include <random.h> // lines 11-11
- #include <uint256.h> // lines 10-10
The full include-list for netbase.cpp:
#include <netbase.h>
#include <assert.h> // for assert
#include <netdb.h> // for addrinfo, freeaddrinfo, getaddrinfo, AI_ADDRCONFIG, AI_NUMERICHOST
#include <netinet/in.h> // for IPPROTO_TCP, sockaddr_in6, sockaddr_in
#include <netinet/tcp.h> // for TCP_NODELAY
#include <sync.h> // for LOCK, CCriticalSection
#include <sys/fcntl.h> // for fcntl, F_GETFL, F_SETFL, O_NONBLOCK
#include <sys/select.h> // for select, timeval, fd_set, FD_SET, FD_ZERO
#include <sys/socket.h> // for send, setsockopt, sockaddr_storage, connect, getsockopt, recv, socket, socklen_t, SOCK_STREAM, SOL_SOCKET, SO_NOSIGPIPE, AF_INET, AF_INET6, AF_UNSPEC, SO_ERROR, sockaddr
#include <tinyformat.h> // for format_error, strprintf, format
#include <unistd.h> // for close
#include <util.h> // for error
#include <utilstrencodings.h> // for ParseInt32, SplitHostPort
#include <algorithm> // for min
#include <atomic> // for atomic, atomic_int, __atomic_base
#include <boost/algorithm/string/case_conv.hpp> // for to_lower
#include <boost/algorithm/string/predicate.hpp> // for ends_with, starts_with
#include <cstdint> // for uint8_t
#include <cstring> // for ssize_t, memset, strerror_r, size_t
#include "compat.h" // for SOCKET, INVALID_SOCKET, SOCKET_ERROR, WSAGetLastError, IsSelectableSocket, WSAEINPROGRESS, WSAEINVAL, WSAEWOULDBLOCK, sockopt_arg_type
#include "logging.h" // for LogPrintf, LogPrint, NET, PROXY
#include "netaddress.h" // for CNetAddr, CService, CSubNet, NET_MAX, Network, NET_ONION, operator==, NET_IPV4, NET_IPV6, NET_UNROUTABLE
#include "utiltime.h" // for GetTimeMillis
---
make[2]: *** [libbitcoin_common_a-netbase.o] Error 23
CXX lib/libunivalue_la-univalue_write.lo
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 76395 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT script/libbitcoin_common_a-standard.o -MD -MP -MF script/.deps/libbitcoin_common_a-standard.Tpo -c -o script/libbitcoin_common_a-standard.o `test -f 'script/standard.cpp' || echo './'`script/standard.cpp
make[2]: *** [script/libbitcoin_common_a-standard.o] Error 134
CXX compat/libbitcoin_util_a-glibc_sanity.o
(compat/glibc_sanity.cpp has correct #includes/fwd-decls)
make[2]: *** [compat/libbitcoin_util_a-glibc_sanity.o] Error 2
CXX compat/libbitcoin_util_a-glibcxx_sanity.o
support/lockedpool.h should add these lines:
#include <cstddef> // for size_t
support/lockedpool.h should remove these lines:
- #include <stdint.h> // lines 8-8
The full include-list for support/lockedpool.h:
#include <cstddef> // for size_t
#include <list> // for list
#include <map> // for multimap, multimap<>::value_compare
#include <memory> // for unique_ptr
#include <mutex> // for call_once, mutex, once_flag
#include <unordered_map> // for unordered_map
---
support/lockedpool.cpp should add these lines:
#include <limits> // for numeric_limits
#include <stdexcept> // for runtime_error
#include <type_traits> // for move
#include <utility> // for pair
support/lockedpool.cpp should remove these lines:
- #include <config/bitcoin-config.h> // lines 9-9
- #include <limits.h> // lines 25-25
The full include-list for support/lockedpool.cpp:
#include <support/lockedpool.h>
#include <support/cleanse.h> // for memory_cleanse
#include <sys/mman.h> // for mlock, mmap, munlock, munmap, MAP_ANONYMOUS, MAP_PRIVATE, PROT_READ, PROT_WRITE
#include <sys/resource.h> // for getrlimit, rlimit, RLIMIT_MEMLOCK, RLIM_INFINITY
#include <unistd.h> // for sysconf, _SC_PAGESIZE
#include <algorithm> // for min
#include <limits> // for numeric_limits
#include <stdexcept> // for runtime_error
#include <type_traits> // for move
#include <utility> // for pair
---
make[2]: *** [support/libbitcoin_util_a-lockedpool.o] Error 10
CXX compat/libbitcoin_util_a-strnlen.o
compat/strnlen.cpp should remove these lines:
- #include <cstring> // lines 9-9
The full include-list for compat/strnlen.cpp:
#include <config/bitcoin-config.h> // for HAVE_DECL_STRNLEN
---
make[2]: *** [compat/libbitcoin_util_a-strnlen.o] Error 3
CXX libbitcoin_util_a-fs.o
lib/univalue_get.cpp should add these lines:
#include <sys/errno.h> // for errno
#include <istream> // for istringstream, basic_istream, locale
lib/univalue_get.cpp should remove these lines:
- #include <errno.h> // lines 7-7
The full include-list for lib/univalue_get.cpp:
#include <stdint.h> // for int64_t, int32_t
#include <stdlib.h> // for strtol, strtoll, NULL
#include <string.h> // for strlen
#include <sys/errno.h> // for errno
#include <istream> // for istringstream, basic_istream, locale
#include <limits> // for numeric_limits
#include <stdexcept> // for runtime_error
#include <string> // for string
#include <vector> // for vector
#include "univalue.h" // for UniValue, json_isspace, UniValue::VNUM, UniValue::VOBJ, UniValue::VARR, UniValue::VBOOL, UniValue::VSTR
---
make[3]: *** [lib/libunivalue_la-univalue_get.lo] Error 1
CXX interfaces/libbitcoin_util_a-handler.o
lib/univalue_read.cpp should add these lines:
#include <stdint.h> // for uint32_t
#include <string> // for string
lib/univalue_read.cpp should remove these lines:
- #include <stdio.h> // lines 7-7
The full include-list for lib/univalue_read.cpp:
#include <stdint.h> // for uint32_t
#include <string.h> // for strncmp, size_t
#include <string> // for string
#include <vector> // for vector
#include "univalue.h" // for UniValue, JTOK_ERR, UniValue::VOBJ, JTOK_NONE, JTOK_ARR_OPEN, JTOK_COLON, JTOK_COMMA, JTOK_OBJ_CLOSE, JTOK_OBJ_OPEN, JTOK_ARR_CLOSE, JTOK_KW_FALSE, JTOK_KW_NULL, JTOK_KW_TRUE, JTOK_STRING, jsonTokenIsValue, json_isspace, jtokentype, JTOK_NUMBER, UniValue::...
#include "univalue_utffilter.h" // for JSONUTF8StringFilter
---
make[3]: *** [lib/libunivalue_la-univalue_read.lo] Error 1
CXX interfaces/libbitcoin_util_a-node.o
lib/univalue_write.cpp should add these lines:
#include <string> // for string, operator+, allocator, operator==
#include <vector> // for vector
lib/univalue_write.cpp should remove these lines:
- #include <stdio.h> // lines 7-7
- #include <iomanip> // lines 5-5
- #include <sstream> // lines 6-6
The full include-list for lib/univalue_write.cpp:
#include <string> // for string, operator+, allocator, operator==
#include <vector> // for vector
#include "univalue.h" // for UniValue, UniValue::VARR, UniValue::VBOOL, UniValue::VNULL, UniValue::VNUM, UniValue::VOBJ, UniValue::VSTR
#include "univalue_escapes.h" // for escapes
---
make[3]: *** [lib/libunivalue_la-univalue_write.lo] Error 1
make[3]: Target `libunivalue.la' not remade because of errors.
make[2]: *** [univalue/libunivalue.la] Error 2
CXX libbitcoin_util_a-logging.o
compat/glibcxx_sanity.cpp should add these lines:
#include <string> // for string
The full include-list for compat/glibcxx_sanity.cpp:
#include <list> // for list
#include <locale> // for ctype, use_facet, locale
#include <stdexcept> // for out_of_range
#include <string> // for string
---
make[2]: *** [compat/libbitcoin_util_a-glibcxx_sanity.o] Error 3
CXX libbitcoin_util_a-random.o
fs.h should add these lines:
#include <boost/filesystem/path.hpp> // for path
#include <boost/filesystem/path_traits.hpp> // for filesystem
fs.h should remove these lines:
- #include <boost/filesystem.hpp> // lines 11-11
- #include <boost/filesystem/detail/utf8_codecvt_facet.hpp> // lines 13-13
- #include <boost/filesystem/fstream.hpp> // lines 12-12
- #include <string> // lines 9-9
The full include-list for fs.h:
#include <stdio.h> // for FILE
#include <boost/filesystem/path.hpp> // for path
#include <boost/filesystem/path_traits.hpp> // for filesystem
---
fs.cpp should add these lines:
#include <string> // for string
The full include-list for fs.cpp:
#include <fs.h>
#include <string> // for string
---
make[2]: *** [libbitcoin_util_a-fs.o] Error 9
CXX rpc/libbitcoin_util_a-protocol.o
warnings.h should remove these lines:
- #include <stdlib.h> // lines 9-9
The full include-list for warnings.h:
#include <string> // for string
---
warnings.cpp should add these lines:
#include <assert.h> // for assert
#include "config/bitcoin-config.h" // for CLIENT_VERSION_IS_RELEASE
#include "threadsafety.h" // for GUARDED_BY
warnings.cpp should remove these lines:
- #include <clientversion.h> // lines 7-7
The full include-list for warnings.cpp:
#include <warnings.h>
#include <assert.h> // for assert
#include <sync.h> // for LOCK, CCriticalSection
#include <util.h> // for _
#include "config/bitcoin-config.h" // for CLIENT_VERSION_IS_RELEASE
#include "threadsafety.h" // for GUARDED_BY
---
make[2]: *** [libbitcoin_common_a-warnings.o] Error 7
CXX support/libbitcoin_util_a-cleanse.o
(support/cleanse.h has correct #includes/fwd-decls)
(support/cleanse.cpp has correct #includes/fwd-decls)
make[2]: *** [support/libbitcoin_util_a-cleanse.o] Error 2
CXX libbitcoin_util_a-sync.o
logging.h should add these lines:
#include <stdio.h> // for FILE
#include <boost/filesystem/path.hpp> // for path
logging.h should remove these lines:
- #include <fs.h> // lines 9-9
The full include-list for logging.h:
#include <stdio.h> // for FILE
#include <tinyformat.h> // for format, format_error
#include <atomic> // for atomic, atomic_bool
#include <boost/filesystem/path.hpp> // for path
#include <cstdint> // for uint32_t
#include <list> // for list
#include <mutex> // for mutex
#include <string> // for string, operator+, allocator
#include <vector> // for vector
---
logging.cpp should add these lines:
#include <assert.h> // for assert
#include <boost/filesystem/operations.hpp> // for file_size, filesystem_error
#include "fs.h" // for fopen, freopen
#include "tinyformat.h" // for strprintf
The full include-list for logging.cpp:
#include <logging.h>
#include <assert.h> // for assert
#include <utiltime.h> // for FormatISO8601DateTime, GetMockTime, GetTimeMicros
#include <boost/filesystem/operations.hpp> // for file_size, filesystem_error
#include "fs.h" // for fopen, freopen
#include "tinyformat.h" // for strprintf
---
make[2]: *** [libbitcoin_util_a-logging.o] Error 9
CXX libbitcoin_util_a-threadinterrupt.o
random.h should add these lines:
#include <stddef.h> // for size_t
#include <vector> // for vector
The full include-list for random.h:
#include <crypto/chacha20.h> // for ChaCha20
#include <crypto/common.h> // for CountBits, ReadLE64
#include <stddef.h> // for size_t
#include <stdint.h> // for uint64_t, uint32_t
#include <uint256.h> // for uint256
#include <limits> // for numeric_limits
#include <vector> // for vector
---
random.cpp should add these lines:
#include <assert.h> // for assert
#include <sys/fcntl.h> // for open, O_RDONLY
#include <atomic> // for atomic, memory_order_relaxed
#include <cstdlib> // for abort, size_t
#include "config/bitcoin-config.h" // for HAVE_GETENTROPY_RAND
#include "crypto/chacha20.h" // for ChaCha20
#include "crypto/common.h" // for WriteLE64
#include "uint256.h" // for uint256
random.cpp should remove these lines:
- #include <fcntl.h> // lines 23-23
- #include <openssl/err.h> // lines 48-48
- #include <stdlib.h> // lines 18-18
- #include <sys/time.h> // lines 24-24
- #include <utiltime.h> // lines 15-15
- #include <mutex> // lines 42-42
The full include-list for random.cpp:
#include <random.h>
#include <assert.h> // for assert
#include <cpuid.h> // for __get_cpuid
#include <crypto/sha512.h> // for CSHA512
#include <logging.h> // for LogPrintf
#include <openssl/rand.h> // for RAND_add, RAND_bytes
#include <support/cleanse.h> // for memory_cleanse
#include <sys/fcntl.h> // for open, O_RDONLY
#include <sys/random.h> // for getentropy
#include <unistd.h> // for close, read, ssize_t
#include <atomic> // for atomic, memory_order_relaxed
#include <chrono> // for milliseconds
#include <cstdlib> // for abort, size_t
#include <cstring> // for memcpy, memset, size_t
#include <thread> // for sleep_for, mutex, unique_lock
#include "config/bitcoin-config.h" // for HAVE_GETENTROPY_RAND
#include "crypto/chacha20.h" // for ChaCha20
#include "crypto/common.h" // for WriteLE64
#include "uint256.h" // for uint256
---
make[2]: *** [libbitcoin_util_a-random.o] Error 18
CXX libbitcoin_util_a-util.o
threadinterrupt.h should remove these lines:
- #include <condition_variable> // lines 10-10
The full include-list for threadinterrupt.h:
#include <atomic> // for atomic
#include <chrono> // for milliseconds, minutes, seconds
#include <mutex> // for condition_variable, mutex
---
(threadinterrupt.cpp has correct #includes/fwd-decls)
make[2]: *** [libbitcoin_util_a-threadinterrupt.o] Error 3
CXX libbitcoin_util_a-utilmoneystr.o
chainparamsbase.h should remove these lines:
- #include <vector> // lines 10-10
The full include-list for chainparamsbase.h:
#include <memory> // for unique_ptr
#include <string> // for string
---
chainparamsbase.cpp should add these lines:
#include <stdexcept> // for runtime_error
The full include-list for chainparamsbase.cpp:
#include <chainparamsbase.h>
#include <assert.h> // for assert
#include <tinyformat.h> // for strprintf
#include <util.h> // for MakeUnique, ArgsManager, gArgs, OptionsCategory, OptionsCategory::CHAINPARAMS
#include <stdexcept> // for runtime_error
---
make[2]: *** [libbitcoin_util_a-chainparamsbase.o] Error 4
CXX libbitcoin_util_a-utilstrencodings.o
sync.h should remove these lines:
- #include <condition_variable> // lines 11-11
- #include <thread> // lines 12-12
The full include-list for sync.h:
#include <threadsafety.h> // for EXCLUSIVE_LOCK_FUNCTION, UNLOCK_FUNCTION, EXCLUSIVE_TRYLOCK_FUNCTION, LOCKABLE, SCOPED_LOCKABLE
#include <mutex> // for unique_lock, mutex, condition_variable, recursive_mutex, defer_lock, lock_guard
---
sync.cpp should remove these lines:
- #include <logging.h> // lines 7-7
- #include <stdio.h> // lines 10-10
- #include <utilstrencodings.h> // lines 8-8
- #include <map> // lines 12-12
- #include <memory> // lines 13-13
- #include <set> // lines 14-14
The full include-list for sync.cpp:
#include <sync.h>
---
make[2]: *** [libbitcoin_util_a-sync.o] Error 10
CXX libbitcoin_util_a-utiltime.o
utilmoneystr.h should remove these lines:
- #include <stdint.h> // lines 12-12
The full include-list for utilmoneystr.h:
#include <amount.h> // for CAmount
#include <string> // for string
---
utilmoneystr.cpp should add these lines:
#include <ctype.h> // for isdigit, isspace
#include <stdint.h> // for int64_t
#include "amount.h" // for CAmount, COIN, CENT
utilmoneystr.cpp should remove these lines:
- #include <primitives/transaction.h> // lines 8-8
The full include-list for utilmoneystr.cpp:
#include <utilmoneystr.h>
#include <ctype.h> // for isdigit, isspace
#include <stdint.h> // for int64_t
#include <tinyformat.h> // for strprintf
#include <utilstrencodings.h> // for atoi64
#include "amount.h" // for CAmount, COIN, CENT
---
make[2]: *** [libbitcoin_util_a-utilmoneystr.o] Error 7
CXX libbitcoin_consensus_a-arith_uint256.o
(interfaces/handler.h has correct #includes/fwd-decls)
interfaces/handler.cpp should add these lines:
#include <type_traits> // for move
interfaces/handler.cpp should remove these lines:
- #include <utility> // lines 10-10
The full include-list for interfaces/handler.cpp:
#include <interfaces/handler.h>
#include <util.h> // for MakeUnique
#include <boost/signals2/connection.hpp> // for scoped_connection, connection
#include <type_traits> // for move
---
make[2]: *** [interfaces/libbitcoin_util_a-handler.o] Error 4
CXX consensus/libbitcoin_consensus_a-merkle.o
utilstrencodings.h should add these lines:
#include <stddef.h> // for size_t
The full include-list for utilstrencodings.h:
#include <stddef.h> // for size_t
#include <stdint.h> // for int64_t, int32_t, uint32_t, uint64_t
#include <string> // for string
#include <vector> // for vector
---
utilstrencodings.cpp should add these lines:
#include <ctype.h> // for isspace
#include <sys/errno.h> // for errno
#include <cstdint> // for uint8_t
#include <istream> // for operator<<, istringstream, stringstream, basic_ostream, basic_istream, locale
utilstrencodings.cpp should remove these lines:
- #include <errno.h> // lines 12-12
The full include-list for utilstrencodings.cpp:
#include <utilstrencodings.h>
#include <ctype.h> // for isspace
#include <sys/errno.h> // for errno
#include <tinyformat.h> // for strprintf
#include <cstdint> // for uint8_t
#include <cstdlib> // for size_t, strtoll, atoi, strtol, strtoul, strtoull
#include <cstring> // for strlen
#include <istream> // for operator<<, istringstream, stringstream, basic_ostream, basic_istream, locale
#include <limits> // for numeric_limits
---
make[2]: *** [libbitcoin_util_a-utilstrencodings.o] Error 8
CXX libbitcoin_consensus_a-hash.o
arith_uint256.h should remove these lines:
- #include <assert.h> // lines 9-9
- #include <vector> // lines 14-14
The full include-list for arith_uint256.h:
#include <stdint.h> // for uint64_t, uint32_t
#include <cstring> // for memcmp
#include <stdexcept> // for runtime_error
#include <string> // for string
class uint256; // lines 16-16
---
arith_uint256.cpp should add these lines:
#include <assert.h> // for assert
arith_uint256.cpp should remove these lines:
- #include <stdio.h> // lines 12-12
- #include <utilstrencodings.h> // lines 9-9
The full include-list for arith_uint256.cpp:
#include <arith_uint256.h>
#include <assert.h> // for assert
#include <crypto/common.h> // for ReadLE32, WriteLE32
#include <uint256.h> // for uint256, uint256S
---
make[2]: *** [libbitcoin_consensus_a-arith_uint256.o] Error 7
CXX primitives/libbitcoin_consensus_a-block.o
consensus/merkle.h should remove these lines:
- #include <primitives/transaction.h> // lines 11-11
- #include <stdint.h> // lines 8-8
The full include-list for consensus/merkle.h:
#include <primitives/block.h> // for CBlock
#include <uint256.h> // for uint256
#include <vector> // for vector
---
consensus/merkle.cpp should add these lines:
#include <stddef.h> // for size_t
#include <type_traits> // for move
#include "crypto/sha256.h" // for SHA256D64
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CTransaction, CTransactionRef
#include "uint256.h" // for uint256, operator==, base_blob
consensus/merkle.cpp should remove these lines:
- #include <hash.h> // lines 6-6
- #include <utilstrencodings.h> // lines 7-7
The full include-list for consensus/merkle.cpp:
#include <consensus/merkle.h>
#include <stddef.h> // for size_t
#include <type_traits> // for move
#include "crypto/sha256.h" // for SHA256D64
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CTransaction, CTransactionRef
#include "uint256.h" // for uint256, operator==, base_blob
---
make[2]: *** [consensus/libbitcoin_consensus_a-merkle.o] Error 12
CXX primitives/libbitcoin_consensus_a-transaction.o
hash.h should add these lines:
#include <stddef.h> // for size_t
#include <stdint.h> // for uint64_t, uint32_t
#include <algorithm> // for min
The full include-list for hash.h:
#include <crypto/ripemd160.h> // for CRIPEMD160, CRIPEMD160::OUTPUT_SIZE
#include <crypto/sha256.h> // for CSHA256, CSHA256::OUTPUT_SIZE
#include <prevector.h> // for prevector
#include <serialize.h> // for SER_GETHASH, Serialize, Unserialize
#include <stddef.h> // for size_t
#include <stdint.h> // for uint64_t, uint32_t
#include <uint256.h> // for uint256, uint160
#include <version.h> // for PROTOCOL_VERSION
#include <algorithm> // for min
#include <vector> // for vector
---
hash.cpp should add these lines:
#include <assert.h> // for assert
#include "uint256.h" // for uint256
The full include-list for hash.cpp:
#include <hash.h>
#include <assert.h> // for assert
#include <crypto/common.h> // for ReadLE32
#include <crypto/hmac_sha512.h> // for CHMAC_SHA512
#include "uint256.h" // for uint256
---
make[2]: *** [libbitcoin_consensus_a-hash.o] Error 7
CXX libbitcoin_consensus_a-pubkey.o
rpc/protocol.h should add these lines:
#include <stddef.h> // for size_t
#include <vector> // for vector
rpc/protocol.h should remove these lines:
- #include <fs.h> // lines 9-9
- #include <stdint.h> // lines 13-13
- #include <list> // lines 11-11
- #include <map> // lines 12-12
The full include-list for rpc/protocol.h:
#include <stddef.h> // for size_t
#include <univalue.h> // for UniValue
#include <string> // for string
#include <vector> // for vector
---
rpc/protocol.cpp should add these lines:
#include <boost/filesystem/operations.hpp> // for filesystem_error, remove
#include <boost/filesystem/path.hpp> // for path
#include <stdexcept> // for runtime_error
#include "logging.h" // for LogPrintf
#include "univalue.h" // for UniValue, UniValue::VOBJ, NullUniValue
rpc/protocol.cpp should remove these lines:
- #include <tinyformat.h> // lines 9-9
- #include <utiltime.h> // lines 12-12
- #include <version.h> // lines 13-13
The full include-list for rpc/protocol.cpp:
#include <rpc/protocol.h>
#include <random.h> // for GetRandBytes
#include <util.h> // for AbsPathForConfigVal, RenameOver, ArgsManager, gArgs
#include <utilstrencodings.h> // for HexStr
#include <boost/filesystem/operations.hpp> // for filesystem_error, remove
#include <boost/filesystem/path.hpp> // for path
#include <fstream> // for ifstream, ofstream, getline, operator<<, basic_ostream
#include <stdexcept> // for runtime_error
#include "logging.h" // for LogPrintf
#include "univalue.h" // for UniValue, UniValue::VOBJ, NullUniValue
---
make[2]: *** [rpc/libbitcoin_util_a-protocol.o] Error 16
CXX script/libbitcoin_consensus_a-bitcoinconsensus.o
primitives/block.h should add these lines:
#include <stdint.h> // for uint32_t, int64_t, int32_t
#include <string> // for string
#include <vector> // for vector
The full include-list for primitives/block.h:
#include <primitives/transaction.h> // for CTransactionRef
#include <serialize.h> // for READWRITE, ADD_SERIALIZE_METHODS, READWRITEAS, SER_GETHASH
#include <stdint.h> // for uint32_t, int64_t, int32_t
#include <uint256.h> // for uint256
#include <string> // for string
#include <vector> // for vector
---
primitives/block.cpp should add these lines:
#include <memory> // for shared_ptr
#include <ostream> // for operator<<, basic_ostream, stringstream, char_traits, string
#include "primitives/transaction.h" // for CTransaction
#include "uint256.h" // for uint256
primitives/block.cpp should remove these lines:
- #include <crypto/common.h> // lines 11-11
- #include <utilstrencodings.h> // lines 10-10
The full include-list for primitives/block.cpp:
#include <primitives/block.h>
#include <hash.h> // for SerializeHash
#include <tinyformat.h> // for strprintf
#include <memory> // for shared_ptr
#include <ostream> // for operator<<, basic_ostream, stringstream, char_traits, string
#include "primitives/transaction.h" // for CTransaction
#include "uint256.h" // for uint256
---
make[2]: *** [primitives/libbitcoin_consensus_a-block.o] Error 11
CXX script/libbitcoin_consensus_a-interpreter.o
(pubkey.h has correct #includes/fwd-decls)
pubkey.cpp should add these lines:
#include <assert.h> // for assert
#include "hash.h" // for BIP32Hash
#include "uint256.h" // for uint256
The full include-list for pubkey.cpp:
#include <pubkey.h>
#include <assert.h> // for assert
#include <secp256k1.h> // for secp256k1_ec_pubkey_parse, secp256k1_ec_pubkey_serialize, secp256k1_ecdsa_signature_parse_compact, secp256k1_ecdsa_signature_normalize, secp256k1_pubkey, secp256k1_context_create, secp256k1_context_destroy, secp256k1_ec_pubkey_tweak_add, secp256k1_ecdsa_si...
#include <secp256k1_recovery.h> // for secp256k1_ecdsa_recover, secp256k1_ecdsa_recoverable_signature_parse_compact, secp256k1_ecdsa_recoverable_signature
#include <cstring> // for memcpy, size_t, memset
#include "hash.h" // for BIP32Hash
#include "uint256.h" // for uint256
---
make[2]: *** [libbitcoin_consensus_a-pubkey.o] Error 5
CXX script/libbitcoin_consensus_a-script.o
primitives/transaction.h should add these lines:
#include <stddef.h> // for size_t
#include <ios> // for string, ios_base::failure, ios_base
#include <memory> // for make_shared, shared_ptr
#include <type_traits> // for forward
#include <vector> // for vector
#include "prevector.h" // for prevector
The full include-list for primitives/transaction.h:
#include <amount.h> // for CAmount
#include <script/script.h> // for CScript, CScriptWitness
#include <serialize.h> // for READWRITE, ADD_SERIALIZE_METHODS, deserialize_type, deserialize
#include <stddef.h> // for size_t
#include <stdint.h> // for uint32_t, int32_t
#include <uint256.h> // for uint256, operator==, base_blob, operator!=
#include <ios> // for string, ios_base::failure, ios_base
#include <memory> // for make_shared, shared_ptr
#include <type_traits> // for forward
#include <vector> // for vector
#include "prevector.h" // for prevector
struct CMutableTransaction; // lines 177-177
---
primitives/transaction.cpp should add these lines:
#include <stdexcept> // for runtime_error
#include <string> // for operator+, string, allocator
#include "amount.h" // for MoneyRange, CAmount, COIN
#include "script/script.h" // for CScript, CScriptWitness
#include "serialize.h" // for GetSerializeSize, SER_GETHASH, SER_NETWORK
#include "uint256.h" // for uint256
#include "version.h" // for PROTOCOL_VERSION
The full include-list for primitives/transaction.cpp:
#include <primitives/transaction.h>
#include <hash.h> // for SerializeHash
#include <tinyformat.h> // for strprintf
#include <utilstrencodings.h> // for HexStr
#include <stdexcept> // for runtime_error
#include <string> // for operator+, string, allocator
#include "amount.h" // for MoneyRange, CAmount, COIN
#include "script/script.h" // for CScript, CScriptWitness
#include "serialize.h" // for GetSerializeSize, SER_GETHASH, SER_NETWORK
#include "uint256.h" // for uint256
#include "version.h" // for PROTOCOL_VERSION
---
make[2]: *** [primitives/libbitcoin_consensus_a-transaction.o] Error 15
CXX script/libbitcoin_consensus_a-script_error.o
(script/script_error.h has correct #includes/fwd-decls)
(script/script_error.cpp has correct #includes/fwd-decls)
make[2]: *** [script/libbitcoin_consensus_a-script_error.o] Error 2
CXX libbitcoin_consensus_a-uint256.o
(script/bitcoinconsensus.h has correct #includes/fwd-decls)
script/bitcoinconsensus.cpp should add these lines:
#include <exception> // for exception
#include <ios> // for ios_base::failure, ios_base
#include <string> // for operator+, string
#include <vector> // for vector
#include "amount.h" // for CAmount
#include "script/script.h" // for CScript
#include "serialize.h" // for GetSerializeSize, SER_NETWORK, Unserialize, deserialize
The full include-list for script/bitcoinconsensus.cpp:
#include <script/bitcoinconsensus.h>
#include <primitives/transaction.h> // for CTransaction, CTxIn
#include <pubkey.h> // for ECCVerifyHandle
#include <script/interpreter.h> // for VerifyScript, TransactionSignatureChecker, PrecomputedTransactionData
#include <version.h> // for PROTOCOL_VERSION
#include <cstring> // for memcpy, size_t
#include <exception> // for exception
#include <ios> // for ios_base::failure, ios_base
#include <string> // for operator+, string
#include <vector> // for vector
#include "amount.h" // for CAmount
#include "script/script.h" // for CScript
#include "serialize.h" // for GetSerializeSize, SER_NETWORK, Unserialize, deserialize
---
make[2]: *** [script/libbitcoin_consensus_a-bitcoinconsensus.o] Error 9
CXX libbitcoin_consensus_a-utilstrencodings.o
script/interpreter.h should add these lines:
#include <stddef.h> // for size_t
#include "amount.h" // for CAmount
#include "uint256.h" // for uint256
class CScriptNum;
struct CScriptWitness;
script/interpreter.h should remove these lines:
- #include <stdint.h> // lines 13-13
- #include <string> // lines 14-14
- class CTransaction; // lines 18-18
- class uint256; // lines 19-19
The full include-list for script/interpreter.h:
#include <primitives/transaction.h> // for CTransaction, CMutableTransaction
#include <script/script_error.h> // for ScriptError
#include <stddef.h> // for size_t
#include <vector> // for vector
#include "amount.h" // for CAmount
#include "uint256.h" // for uint256
class CPubKey; // lines 16-16
class CScript; // lines 17-17
class CScriptNum;
struct CScriptWitness;
---
script/interpreter.cpp should add these lines:
#include <assert.h> // for assert
#include <stdint.h> // for int64_t, uint32_t
#include <algorithm> // for equal
#include <stdexcept> // for runtime_error
#include <type_traits> // for move
#include "hash.h" // for CHashWriter, CHash160, CHash256
#include "prevector.h" // for prevector<>::const_iterator, prevector<>::iterator, operator-, prevector
#include "primitives/transaction.h" // for CTxIn, CTxIn::SEQUENCE_LOCKTIME_TYPE_FLAG, CTxIn::SEQUENCE_LOCKTIME_DISABLE_FLAG, CMutableTransaction (ptr only), CTransaction (ptr only), CTxIn::SEQUENCE_FINAL, CTxIn::SEQUENCE_LOCKTIME_MASK, CTxOut
#include "script/script_error.h" // for SCRIPT_ERR_INVALID_STACK_OPERATION, ScriptError, SCRIPT_ERR_EVAL_FALSE, SCRIPT_ERR_UNBALANCED_CONDITIONAL, SCRIPT_ERR_UNKNOWN_ERROR, SCRIPT_ERR_BAD_OPCODE, SCRIPT_ERR_CLEANSTACK, SCRIPT_ERR_MINIMALIF, SCRIPT_ERR_NEGATIVE_LOCKTIME, SCRIPT_ERR_OP_COUNT
#include "serialize.h" // for Serialize, SER_GETHASH, WriteCompactSize
The full include-list for script/interpreter.cpp:
#include <script/interpreter.h>
#include <assert.h> // for assert
#include <crypto/ripemd160.h> // for CRIPEMD160
#include <crypto/sha1.h> // for CSHA1
#include <crypto/sha256.h> // for CSHA256
#include <pubkey.h> // for CPubKey, CPubKey::COMPRESSED_PUBLIC_KEY_SIZE, CPubKey::PUBLIC_KEY_SIZE
#include <script/script.h> // for CScript, CScriptNum, CScriptWitness, opcodetype, LOCKTIME_THRESHOLD, OP_CODESEPARATOR, OP_HASH160, OP_EQUALVERIFY, OP_NUMEQUALVERIFY, OP_RIPEMD160, OP_SHA1, MAX_OPS_PER_SCRIPT, MAX_SCRIPT_ELEMENT_SIZE, OP_0NOTEQUAL, OP_1, OP_16, OP_1ADD, OP_1SUB, OP_ABS
#include <stdint.h> // for int64_t, uint32_t
#include <uint256.h> // for uint256, uint256S
#include <algorithm> // for equal
#include <cstring> // for size_t, memcmp
#include <stdexcept> // for runtime_error
#include <type_traits> // for move
#include "hash.h" // for CHashWriter, CHash160, CHash256
#include "prevector.h" // for prevector<>::const_iterator, prevector<>::iterator, operator-, prevector
#include "primitives/transaction.h" // for CTxIn, CTxIn::SEQUENCE_LOCKTIME_TYPE_FLAG, CTxIn::SEQUENCE_LOCKTIME_DISABLE_FLAG, CMutableTransaction (ptr only), CTransaction (ptr only), CTxIn::SEQUENCE_FINAL, CTxIn::SEQUENCE_LOCKTIME_MASK, CTxOut
#include "script/script_error.h" // for SCRIPT_ERR_INVALID_STACK_OPERATION, ScriptError, SCRIPT_ERR_EVAL_FALSE, SCRIPT_ERR_UNBALANCED_CONDITIONAL, SCRIPT_ERR_UNKNOWN_ERROR, SCRIPT_ERR_BAD_OPCODE, SCRIPT_ERR_CLEANSTACK, SCRIPT_ERR_MINIMALIF, SCRIPT_ERR_NEGATIVE_LOCKTIME, SCRIPT_ERR_OP_COUNT
#include "serialize.h" // for Serialize, SER_GETHASH, WriteCompactSize
---
make[2]: *** [script/libbitcoin_consensus_a-interpreter.o] Error 21
CXX crypto/crypto_libbitcoin_crypto_base_a-aes.o
uint256.h should remove these lines:
- #include <assert.h> // lines 9-9
- #include <stdexcept> // lines 11-11
The full include-list for uint256.h:
#include <crypto/common.h> // for ReadLE64
#include <stdint.h> // for uint64_t, uint8_t
#include <cstring> // for memcpy, memset, memcmp
#include <string> // for string
#include <vector> // for vector
---
uint256.cpp should add these lines:
#include <assert.h> // for assert
#include <ctype.h> // for isspace, tolower
#include <iterator> // for reverse_iterator
uint256.cpp should remove these lines:
- #include <stdio.h> // lines 10-10
The full include-list for uint256.cpp:
#include <uint256.h>
#include <assert.h> // for assert
#include <ctype.h> // for isspace, tolower
#include <utilstrencodings.h> // for HexDigit, HexStr
#include <iterator> // for reverse_iterator
---
make[2]: *** [libbitcoin_consensus_a-uint256.o] Error 8
CXX crypto/crypto_libbitcoin_crypto_base_a-chacha20.o
(crypto/aes.h has correct #includes/fwd-decls)
crypto/aes.cpp should add these lines:
#include "crypto/ctaes/ctaes.h" // for AES128_ctx, AES256_ctx
crypto/aes.cpp should remove these lines:
- #include <assert.h> // lines 8-8
- #include <crypto/common.h> // lines 6-6
The full include-list for crypto/aes.cpp:
#include <crypto/aes.h>
#include <crypto/ctaes/ctaes.c> // for AES128_init, AES256_init, AES128_decrypt, AES128_encrypt, AES256_decrypt, AES256_encrypt
#include <cstring> // for memset, memcpy
#include "crypto/ctaes/ctaes.h" // for AES128_ctx, AES256_ctx
---
make[2]: *** [crypto/crypto_libbitcoin_crypto_base_a-aes.o] Error 5
CXX crypto/crypto_libbitcoin_crypto_base_a-hmac_sha256.o
(crypto/chacha20.h has correct #includes/fwd-decls)
(crypto/chacha20.cpp has correct #includes/fwd-decls)
make[2]: *** [crypto/crypto_libbitcoin_crypto_base_a-chacha20.o] Error 2
CXX crypto/crypto_libbitcoin_crypto_base_a-hmac_sha512.o
crypto/hmac_sha512.h should remove these lines:
- #include <stdint.h> // lines 10-10
The full include-list for crypto/hmac_sha512.h:
#include <crypto/sha512.h> // for CSHA512
#include <stdlib.h> // for size_t
---
crypto/hmac_sha512.cpp should add these lines:
#include "crypto/sha512.h" // for CSHA512
The full include-list for crypto/hmac_sha512.cpp:
#include <crypto/hmac_sha512.h>
#include <cstring> // for memset, memcpy
#include "crypto/sha512.h" // for CSHA512
---
make[2]: *** [crypto/crypto_libbitcoin_crypto_base_a-hmac_sha512.o] Error 4
CXX crypto/crypto_libbitcoin_crypto_base_a-ripemd160.o
(crypto/ripemd160.h has correct #includes/fwd-decls)
(crypto/ripemd160.cpp has correct #includes/fwd-decls)
make[2]: *** [crypto/crypto_libbitcoin_crypto_base_a-ripemd160.o] Error 2
CXX crypto/crypto_libbitcoin_crypto_base_a-sha1.o
(crypto/sha1.h has correct #includes/fwd-decls)
(crypto/sha1.cpp has correct #includes/fwd-decls)
make[2]: *** [crypto/crypto_libbitcoin_crypto_base_a-sha1.o] Error 2
CXX crypto/crypto_libbitcoin_crypto_base_a-sha256.o
script/script.h should remove these lines:
- #include <climits> // lines 14-14
The full include-list for script/script.h:
#include <assert.h> // for assert
#include <crypto/common.h> // for WriteLE16, WriteLE32
#include <prevector.h> // for prevector<>::const_iterator, prevector<>::const_reverse_iterator, prevector<>::reverse_iterator, prevector
#include <serialize.h> // for ADD_SERIALIZE_METHODS, READWRITEAS
#include <stdint.h> // for int64_t, uint8_t, uint64_t
#include <cstddef> // for size_t
#include <limits> // for numeric_limits
#include <stdexcept> // for runtime_error
#include <string> // for string
#include <vector> // for vector, vector<>::const_iterator
---
script/script.cpp should add these lines:
#include "crypto/common.h" // for ReadLE16, ReadLE32
#include "prevector.h" // for prevector<>::const_iterator, operator-, prevector
script/script.cpp should remove these lines:
- #include <tinyformat.h> // lines 8-8
The full include-list for script/script.cpp:
#include <script/script.h>
#include <utilstrencodings.h> // for HexStr
#include "crypto/common.h" // for ReadLE16, ReadLE32
#include "prevector.h" // for prevector<>::const_iterator, operator-, prevector
---
make[2]: *** [script/libbitcoin_consensus_a-script.o] Error 6
CXX crypto/crypto_libbitcoin_crypto_base_a-sha512.o
(crypto/sha512.h has correct #includes/fwd-decls)
(crypto/sha512.cpp has correct #includes/fwd-decls)
make[2]: *** [crypto/crypto_libbitcoin_crypto_base_a-sha512.o] Error 2
CXX crypto/crypto_libbitcoin_crypto_base_a-sha256_sse4.o
crypto/hmac_sha256.h should remove these lines:
- #include <stdint.h> // lines 10-10
The full include-list for crypto/hmac_sha256.h:
#include <crypto/sha256.h> // for CSHA256
#include <stdlib.h> // for size_t
---
crypto/hmac_sha256.cpp should add these lines:
#include "crypto/sha256.h" // for CSHA256
The full include-list for crypto/hmac_sha256.cpp:
#include <crypto/hmac_sha256.h>
#include <cstring> // for memset, memcpy
#include "crypto/sha256.h" // for CSHA256
---
make[2]: *** [crypto/crypto_libbitcoin_crypto_base_a-hmac_sha256.o] Error 4
CXX crypto/crypto_libbitcoin_crypto_sse41_a-sha256_sse41.o
(crypto/sha256_sse4.cpp has correct #includes/fwd-decls)
make[2]: *** [crypto/crypto_libbitcoin_crypto_base_a-sha256_sse4.o] Error 2
CXX crypto/crypto_libbitcoin_crypto_avx2_a-sha256_avx2.o
utilstrencodings.h should add these lines:
#include <stddef.h> // for size_t
The full include-list for utilstrencodings.h:
#include <stddef.h> // for size_t
#include <stdint.h> // for int64_t, int32_t, uint32_t, uint64_t
#include <string> // for string
#include <vector> // for vector
---
utilstrencodings.cpp should add these lines:
#include <ctype.h> // for isspace
#include <sys/errno.h> // for errno
#include <cstdint> // for uint8_t
#include <istream> // for operator<<, istringstream, stringstream, basic_ostream, basic_istream, locale
utilstrencodings.cpp should remove these lines:
- #include <errno.h> // lines 12-12
The full include-list for utilstrencodings.cpp:
#include <utilstrencodings.h>
#include <ctype.h> // for isspace
#include <sys/errno.h> // for errno
#include <tinyformat.h> // for strprintf
#include <cstdint> // for uint8_t
#include <cstdlib> // for size_t, strtoll, atoi, strtol, strtoul, strtoull
#include <cstring> // for strlen
#include <istream> // for operator<<, istringstream, stringstream, basic_ostream, basic_istream, locale
#include <limits> // for numeric_limits
---
make[2]: *** [libbitcoin_consensus_a-utilstrencodings.o] Error 8
CXX crypto/crypto_libbitcoin_crypto_shani_a-sha256_shani.o
util.h should add these lines:
#include <stdio.h> // for FILE
#include <sys/types.h> // for pid_t
#include <boost/filesystem/path.hpp> // for path
#include <boost/function/function_template.hpp> // for function
#include <boost/iterator/iterator_facade.hpp> // for operator!=
#include <boost/move/utility_core.hpp> // for move
#include <boost/optional/optional.hpp> // for optional
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/signals2/optional_last_value.hpp> // for optional_last_value
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/thread/exceptions.hpp> // for thread_interrupted
#include <iosfwd> // for istream
#include <list> // for operator!=, operator==
#include <type_traits> // for forward
util.h should remove these lines:
- #include <compat.h> // lines 17-17
- #include <config/bitcoin-config.h> // lines 14-14
- #include <fs.h> // lines 18-18
- #include <utiltime.h> // lines 22-22
- #include <atomic> // lines 24-24
- #include <boost/signals2/signal.hpp> // lines 34-34
- #include <boost/thread/condition_variable.hpp> // lines 35-35
- #include <unordered_set> // lines 31-31
The full include-list for util.h:
#include <logging.h> // for LogPrintf
#include <stdint.h> // for int64_t
#include <stdio.h> // for FILE
#include <sync.h> // for CCriticalSection
#include <sys/types.h> // for pid_t
#include <tinyformat.h> // for format, strprintf
#include <boost/filesystem/path.hpp> // for path
#include <boost/function/function_template.hpp> // for function
#include <boost/iterator/iterator_facade.hpp> // for operator!=
#include <boost/move/utility_core.hpp> // for move
#include <boost/optional/optional.hpp> // for optional
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/signals2/optional_last_value.hpp> // for optional_last_value
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/thread/exceptions.hpp> // for thread_interrupted
#include <exception> // for exception
#include <iosfwd> // for istream
#include <list> // for operator!=, operator==
#include <map> // for map
#include <memory> // for unique_ptr
#include <set> // for set
#include <string> // for string, basic_string
#include <type_traits> // for forward
#include <vector> // for vector
---
util.cpp should add these lines:
#include <assert.h> // for assert
#include <pthread.h> // for pthread_setname_np
#include <stdlib.h> // for getenv, system
#include <sys/errno.h> // for errno
#include <sys/fcntl.h> // for fcntl, fstore_t, F_FULLFSYNC, F_PREALLOCATE, F_ALLOCATEALL, F_ALLOCATECONTIG, F_PEOFPOSMODE
#include <unistd.h> // for ftruncate, off_t, pid_t
#include <boost/filesystem/fstream.hpp> // for ifstream
#include <boost/filesystem/operations.hpp> // for create_directories, is_directory, system_complete, absolute, exists, remove, unique_path, filesystem_error
#include <boost/interprocess/exceptions.hpp> // for interprocess_exception
#include <boost/program_options/option.hpp> // for basic_option
#include <cstdio> // for fileno, fclose, fprintf, FILE, rename, size_t, fflush, stderr
#include <fstream> // for locale, istream
#include <stdexcept> // for runtime_error
#include <typeinfo> // for type_info
#include <utility> // for pair, make_pair
#include "config/bitcoin-config.h" // for COPYRIGHT_HOLDERS, COPYRIGHT_HOLDERS_SUBSTITUTION
#include "fs.h" // for fopen
#include "logging.h" // for LogPrintf
#include "sync.h" // for LOCK, CCriticalSection, ENTER_CRITICAL_SECTION, LEAVE_CRITICAL_SECTION
#include "threadsafety.h" // for NO_THREAD_SAFETY_ANALYSIS
#include "tinyformat.h" // for strprintf, format_error
#include "utiltime.h" // for GetTime
util.cpp should remove these lines:
- #include <fcntl.h> // lines 34-34
- #include <sched.h> // lines 35-35
- #include <serialize.h> // lines 10-10
- #include <stdarg.h> // lines 14-14
- #include <sys/stat.h> // lines 37-37
- #include <algorithm> // lines 33-33
- #include <boost/thread.hpp> // lines 77-77
The full include-list for util.cpp:
#include <util.h>
#include <assert.h> // for assert
#include <chainparamsbase.h> // for CBaseChainParams, BaseParams, CBaseChainParams::MAIN, CBaseChainParams::REGTEST, CBaseChainParams::TESTNET
#include <openssl/conf.h> // for OPENSSL_no_config
#include <openssl/crypto.h> // for CRYPTO_set_locking_callback, CRYPTO_num_locks, CRYPTO_LOCK
#include <openssl/rand.h> // for RAND_cleanup
#include <pthread.h> // for pthread_setname_np
#include <random.h> // for RandAddSeed
#include <stdlib.h> // for getenv, system
#include <sys/errno.h> // for errno
#include <sys/fcntl.h> // for fcntl, fstore_t, F_FULLFSYNC, F_PREALLOCATE, F_ALLOCATEALL, F_ALLOCATECONTIG, F_PEOFPOSMODE
#include <sys/resource.h> // for rlimit, getrlimit, RLIMIT_NOFILE, setrlimit, rlim_t
#include <unistd.h> // for ftruncate, off_t, pid_t
#include <utilstrencodings.h> // for FormatParagraph, atoi, atoi64
#include <boost/filesystem/fstream.hpp> // for ifstream
#include <boost/filesystem/operations.hpp> // for create_directories, is_directory, system_complete, absolute, exists, remove, unique_path, filesystem_error
#include <boost/interprocess/exceptions.hpp> // for interprocess_exception
#include <boost/interprocess/sync/file_lock.hpp> // for file_lock
#include <boost/program_options/detail/config_file.hpp> // for common_config_file_iterator, config_file_iterator
#include <boost/program_options/option.hpp> // for basic_option
#include <cstdio> // for fileno, fclose, fprintf, FILE, rename, size_t, fflush, stderr
#include <cstring> // for strlen
#include <fstream> // for locale, istream
#include <stdexcept> // for runtime_error
#include <thread> // for mutex, lock_guard, thread
#include <typeinfo> // for type_info
#include <utility> // for pair, make_pair
#include "config/bitcoin-config.h" // for COPYRIGHT_HOLDERS, COPYRIGHT_HOLDERS_SUBSTITUTION
#include "fs.h" // for fopen
#include "logging.h" // for LogPrintf
#include "sync.h" // for LOCK, CCriticalSection, ENTER_CRITICAL_SECTION, LEAVE_CRITICAL_SECTION
#include "threadsafety.h" // for NO_THREAD_SAFETY_ANALYSIS
#include "tinyformat.h" // for strprintf, format_error
#include "utiltime.h" // for GetTime
---
make[2]: *** [libbitcoin_util_a-util.o] Error 54
(crypto/sha256.h has correct #includes/fwd-decls)
CXX leveldb/db/leveldb_libleveldb_a-builder.o
crypto/sha256.cpp should add these lines:
#include <algorithm> // for equal, copy
#include <cstdint> // for uint32_t
#include "config/bitcoin-config.h" // for USE_ASM, ENABLE_AVX2, ENABLE_SHANI, ENABLE_SSE41
crypto/sha256.cpp should remove these lines:
- #include <atomic> // lines 9-9
The full include-list for crypto/sha256.cpp:
#include <crypto/sha256.h>
#include <assert.h> // for assert
#include <cpuid.h> // for __cpuid_count
#include <crypto/common.h> // for ReadBE32, WriteBE32, WriteBE64
#include <algorithm> // for equal, copy
#include <cstdint> // for uint32_t
#include <cstring> // for memcpy
#include "config/bitcoin-config.h" // for USE_ASM, ENABLE_AVX2, ENABLE_SHANI, ENABLE_SSE41
---
make[2]: *** [crypto/crypto_libbitcoin_crypto_base_a-sha256.o] Error 6
CXX leveldb/db/leveldb_libleveldb_a-c.o
crypto/sha256_shani.cpp should add these lines:
#include <emmintrin.h> // for __m128i, _mm_add_epi32, _mm_set_epi64x, _mm_loadu_si128, _mm_storeu_si128, _mm_shuffle_epi32
#include <smmintrin.h> // for _mm_blend_epi16
#include <stddef.h> // for size_t
#include <tmmintrin.h> // for _mm_shuffle_epi8, _mm_alignr_epi8
crypto/sha256_shani.cpp should remove these lines:
- #include <crypto/common.h> // lines 14-14
The full include-list for crypto/sha256_shani.cpp:
#include <emmintrin.h> // for __m128i, _mm_add_epi32, _mm_set_epi64x, _mm_loadu_si128, _mm_storeu_si128, _mm_shuffle_epi32
#include <immintrin.h> // for _mm_sha256rnds2_epu32, _mm_sha256msg1_epu32, _mm_sha256msg2_epu32
#include <smmintrin.h> // for _mm_blend_epi16
#include <stddef.h> // for size_t
#include <stdint.h> // for uint64_t, uint32_t
#include <tmmintrin.h> // for _mm_shuffle_epi8, _mm_alignr_epi8
---
make[2]: *** [crypto/crypto_libbitcoin_crypto_shani_a-sha256_shani.o] Error 7
CXX leveldb/db/leveldb_libleveldb_a-dbformat.o
leveldb/include/leveldb/c.h should remove these lines:
- #include <stdarg.h> // lines 47-47
The full include-list for leveldb/include/leveldb/c.h:
#include <stddef.h> // for size_t
#include <stdint.h> // for uint64_t
---
leveldb/db/c.cc should add these lines:
#include <assert.h> // for assert
#include <string.h> // for strdup, memcpy
#include <cstddef> // for size_t
#include <string> // for string, basic_string
#include <vector> // for vector
#include "leveldb/slice.h" // for Slice
leveldb/db/c.cc should remove these lines:
- #include <unistd.h> // lines 8-8
The full include-list for leveldb/db/c.cc:
#include "leveldb/c.h"
#include <assert.h> // for assert
#include <stdlib.h> // for free, malloc
#include <string.h> // for strdup, memcpy
#include <cstddef> // for size_t
#include <string> // for string, basic_string
#include <vector> // for vector
#include "leveldb/cache.h" // for NewLRUCache, Cache
#include "leveldb/comparator.h" // for Comparator
#include "leveldb/db.h" // for DB, Range, DestroyDB, RepairDB, Snapshot (ptr only), kMajorVersion, kMinorVersion
#include "leveldb/env.h" // for Env, FileLock (ptr only), Logger (ptr only), RandomAccessFile (ptr only), SequentialFile (ptr only), WritableFile (ptr only)
#include "leveldb/filter_policy.h" // for FilterPolicy, NewBloomFilterPolicy
#include "leveldb/iterator.h" // for Iterator
#include "leveldb/options.h" // for Options, ReadOptions, WriteOptions, CompressionType
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
#include "leveldb/write_batch.h" // for WriteBatch, WriteBatch::Handler
---
make[2]: *** [leveldb/db/leveldb_libleveldb_a-c.o] Error 10
CXX leveldb/db/leveldb_libleveldb_a-db_impl.o
leveldb/db/builder.h should add these lines:
#include <string> // for string
leveldb/db/builder.h should remove these lines:
- namespace leveldb { class VersionEdit; } // lines 18-18
The full include-list for leveldb/db/builder.h:
#include <string> // for string
#include "leveldb/status.h" // for Status
namespace leveldb { class Env; } // lines 15-15
namespace leveldb { class Iterator; } // lines 16-16
namespace leveldb { class TableCache; } // lines 17-17
namespace leveldb { struct FileMetaData; } // lines 13-13
namespace leveldb { struct Options; } // lines 12-12
---
(utiltime.h has correct #includes/fwd-decls)
leveldb/db/builder.cc should add these lines:
#include <assert.h> // for assert
#include <stddef.h> // for NULL
#include "leveldb/options.h" // for Options (ptr only), ReadOptions
#include "leveldb/slice.h" // for Slice
#include "leveldb/table_builder.h" // for TableBuilder
leveldb/db/builder.cc should remove these lines:
- #include "leveldb/db.h" // lines 11-11
The full include-list for leveldb/db/builder.cc:
#include "db/builder.h"
#include <assert.h> // for assert
#include <stddef.h> // for NULL
#include "db/dbformat.h" // for InternalKey
#include "db/filename.h" // for TableFileName
#include "db/table_cache.h" // for TableCache
#include "db/version_edit.h" // for FileMetaData
#include "leveldb/env.h" // for WritableFile, Env
#include "leveldb/iterator.h" // for Iterator
#include "leveldb/options.h" // for Options (ptr only), ReadOptions
#include "leveldb/slice.h" // for Slice
#include "leveldb/table_builder.h" // for TableBuilder
---
make[2]: *** [leveldb/db/leveldb_libleveldb_a-builder.o] Error 10
CXX leveldb/db/leveldb_libleveldb_a-db_iter.o
utiltime.cpp should add these lines:
#include <assert.h> // for assert
#include <boost/chrono/duration.hpp> // for operator<, operator>, milliseconds
#include <boost/date_time/gregorian/greg_date.hpp> // for date
#include <boost/date_time/posix_time/posix_time_types.hpp> // for microsec_clock
#include <boost/date_time/posix_time/ptime.hpp> // for ptime
#include <boost/date_time/time.hpp> // for base_time
#include <boost/date_time/time_system_counted.hpp> // for counted_time_system<>::time_duration_type
#include <boost/thread/v2/thread.hpp> // for sleep_for
#include <cstdint> // for int64_t
utiltime.cpp should remove these lines:
- #include <boost/date_time/posix_time/posix_time.hpp> // lines 13-13
- #include <boost/thread.hpp> // lines 14-14
The full include-list for utiltime.cpp:
#include <utiltime.h>
#include <assert.h> // for assert
#include <config/bitcoin-config.h> // for HAVE_WORKING_BOOST_SLEEP_FOR
#include <tinyformat.h> // for strprintf
#include <atomic> // for atomic, memory_order_relaxed
#include <boost/chrono/duration.hpp> // for operator<, operator>, milliseconds
#include <boost/date_time/gregorian/greg_date.hpp> // for date
#include <boost/date_time/posix_time/posix_time_types.hpp> // for microsec_clock
#include <boost/date_time/posix_time/ptime.hpp> // for ptime
#include <boost/date_time/time.hpp> // for base_time
#include <boost/date_time/time_system_counted.hpp> // for counted_time_system<>::time_duration_type
#include <boost/thread/v2/thread.hpp> // for sleep_for
#include <cstdint> // for int64_t
#include <ctime> // for tm, gmtime_r, time_t, time
---
make[2]: *** [libbitcoin_util_a-utiltime.o] Error 13
CXX leveldb/db/leveldb_libleveldb_a-dumpfile.o
crypto/sha256_sse41.cpp should add these lines:
#include <emmintrin.h> // for __m128i, _mm_set_epi32, _mm_add_epi32, _mm_and_si128, _mm_or_si128, _mm_set1_epi32, _mm_slli_epi32, _mm_srli_epi32, _mm_xor_si128
#include <smmintrin.h> // for _mm_extract_epi32
#include <tmmintrin.h> // for _mm_shuffle_epi8
crypto/sha256_sse41.cpp should remove these lines:
- #include <crypto/sha256.h> // lines 6-6
- #include <immintrin.h> // lines 4-4
The full include-list for crypto/sha256_sse41.cpp:
#include <crypto/common.h> // for ReadLE32, WriteLE32
#include <emmintrin.h> // for __m128i, _mm_set_epi32, _mm_add_epi32, _mm_and_si128, _mm_or_si128, _mm_set1_epi32, _mm_slli_epi32, _mm_srli_epi32, _mm_xor_si128
#include <smmintrin.h> // for _mm_extract_epi32
#include <stdint.h> // for uint32_t
#include <tmmintrin.h> // for _mm_shuffle_epi8
---
make[2]: *** [crypto/crypto_libbitcoin_crypto_sse41_a-sha256_sse41.o] Error 7
CXX leveldb/db/leveldb_libleveldb_a-filename.o
crypto/sha256_avx2.cpp should remove these lines:
- #include <crypto/sha256.h> // lines 6-6
The full include-list for crypto/sha256_avx2.cpp:
#include <crypto/common.h> // for ReadLE32, WriteLE32
#include <immintrin.h> // for __m256i, _mm256_extract_epi32, _mm256_set_epi32, _mm256_shuffle_epi8, _mm256_add_epi32, _mm256_and_si256, _mm256_or_si256, _mm256_set1_epi32, _mm256_slli_epi32, _mm256_srli_epi32, _mm256_xor_si256
#include <stdint.h> // for uint32_t
---
make[2]: *** [crypto/crypto_libbitcoin_crypto_avx2_a-sha256_avx2.o] Error 3
CXX leveldb/db/leveldb_libleveldb_a-log_reader.o
interfaces/node.h should add these lines:
class COutPoint;
interfaces/node.h should remove these lines:
- class CCoinControl; // lines 21-21
- class CNodeStats; // lines 23-23
The full include-list for interfaces/node.h:
#include <addrdb.h> // for BanReason, banmap_t
#include <amount.h> // for CAmount
#include <net.h> // for CConnman, CConnman::NumConnections, NodeId
#include <netaddress.h> // for Network
#include <stddef.h> // for size_t
#include <stdint.h> // for int64_t, uint32_t
#include <functional> // for function
#include <memory> // for unique_ptr
#include <string> // for string
#include <tuple> // for tuple
#include <vector> // for vector
class CFeeRate; // lines 22-22
class COutPoint;
class Coin; // lines 24-24
class RPCTimerInterface; // lines 25-25
class UniValue; // lines 26-26
class proxyType; // lines 27-27
namespace interfaces { class Handler; } // lines 31-31
namespace interfaces { class Wallet; } // lines 32-32
struct CNodeStateStats; // lines 28-28
---
interfaces/node.cpp should add these lines:
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/type_index/type_index_facade.hpp> // for operator==
#include <list> // for operator!=
#include <type_traits> // for move
#include "coins.h" // for CCoinsViewCache, Coin (ptr only)
#include "logging.h" // for Logger, g_logger
class COutPoint;
interfaces/node.cpp should remove these lines:
- #include <scheduler.h> // lines 23-23
- #include <wallet/fees.h> // lines 36-36
- #include <boost/thread/thread.hpp> // lines 44-44
The full include-list for interfaces/node.cpp:
#include <interfaces/node.h>
#include <addrdb.h> // for BanReason, banmap_t
#include <amount.h> // for CAmount
#include <chain.h> // for CBlockIndex, CChain
#include <chainparams.h> // for Params, CChainParams, SelectParams
#include <config/bitcoin-config.h> // for ENABLE_WALLET
#include <init.h> // for AppInitBasicSetup, AppInitLockDataDirectory, AppInitMain, AppInitParameterInteraction, AppInitSanityChecks, InitLogging, InitParameterInteraction, Interrupt, SetupServerArgs, Shutdown
#include <interfaces/handler.h> // for MakeHandler, Handler
#include <interfaces/wallet.h> // for MakeWallet, Wallet
#include <net.h> // for g_connman, CConnman, CNodeStats, InterruptMapPort, StartMapPort, StopMapPort, CConnman::NumConnections, NodeId
#include <net_processing.h> // for GetNodeStateStats, CNodeStateStats
#include <netaddress.h> // for Network
#include <netbase.h> // for GetProxy
#include <policy/feerate.h> // for CFeeRate
#include <policy/fees.h> // for FeeCalculation, CBlockPolicyEstimator
#include <policy/policy.h> // for dustRelayFee
#include <primitives/block.h> // for CBlock
#include <rpc/server.h> // for JSONRPCRequest, RPCSetTimerInterfaceIfUnset, RPCUnsetTimerInterface, CRPCTable, tableRPC
#include <shutdown.h> // for ShutdownRequested, StartShutdown
#include <sync.h> // for LOCK, CCriticalBlock, TRY_LOCK
#include <txmempool.h> // for CTxMemPool
#include <ui_interface.h> // for CClientUIInterface, uiInterface
#include <univalue.h> // for UniValue
#include <util.h> // for ArgsManager, gArgs, MakeUnique
#include <validation.h> // for GuessVerificationProgress, cs_main, chainActive, IsInitialBlockDownload, pindexBestHeader, mempool, fImporting, fReindex, feeEstimator, maxTxFee, pcoinsTip
#include <wallet/wallet.h> // for GetWallets
#include <warnings.h> // for GetWarnings
#include <atomic> // for atomic_bool
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/type_index/type_index_facade.hpp> // for operator==
#include <list> // for operator!=
#include <type_traits> // for move
#include "coins.h" // for CCoinsViewCache, Coin (ptr only)
#include "logging.h" // for Logger, g_logger
class COutPoint;
---
make[2]: *** [interfaces/libbitcoin_util_a-node.o] Error 17
CXX leveldb/db/leveldb_libleveldb_a-log_writer.o
leveldb/db/dbformat.h should add these lines:
#include <assert.h> // for assert
#include <stdint.h> // for uint64_t
#include <string> // for string, basic_string
leveldb/db/dbformat.h should remove these lines:
- #include "leveldb/db.h" // lines 10-10
- #include "leveldb/table_builder.h" // lines 13-13
- #include "util/logging.h" // lines 15-15
The full include-list for leveldb/db/dbformat.h:
#include <assert.h> // for assert
#include <stdint.h> // for uint64_t
#include <stdio.h> // for size_t
#include <string> // for string, basic_string
#include "leveldb/comparator.h" // for Comparator
#include "leveldb/filter_policy.h" // for FilterPolicy
#include "leveldb/slice.h" // for Slice
#include "util/coding.h" // for DecodeFixed64
namespace leveldb { class InternalKey; } // lines 46-46
---
leveldb/db/dbformat.cc should add these lines:
#include <string.h> // for memcpy
#include "util/logging.h" // for EscapeString
leveldb/db/dbformat.cc should remove these lines:
- #include "port/port.h" // lines 7-7
The full include-list for leveldb/db/dbformat.cc:
#include "db/dbformat.h"
#include <stdio.h> // for snprintf, size_t
#include <string.h> // for memcpy
#include "util/coding.h" // for PutFixed64, DecodeFixed64, EncodeFixed64, EncodeVarint32
#include "util/logging.h" // for EscapeString
---
make[2]: *** [leveldb/db/leveldb_libleveldb_a-dbformat.o] Error 11
CXX leveldb/db/leveldb_libleveldb_a-memtable.o
leveldb/db/log_reader.h should add these lines:
#include <stddef.h> // for size_t
#include <string> // for string
namespace leveldb { class Status; }
leveldb/db/log_reader.h should remove these lines:
- #include "leveldb/status.h" // lines 12-12
The full include-list for leveldb/db/log_reader.h:
#include <stddef.h> // for size_t
#include <stdint.h> // for uint64_t
#include <string> // for string
#include "db/log_format.h" // for kMaxRecordType
#include "leveldb/slice.h" // for Slice
namespace leveldb { class SequentialFile; } // lines 16-16
namespace leveldb { class Status; }
---
leveldb/db/log_reader.cc should add these lines:
#include "leveldb/status.h" // for Status
The full include-list for leveldb/db/log_reader.cc:
#include "db/log_reader.h"
#include <stdio.h> // for size_t, snprintf, NULL
#include "leveldb/env.h" // for SequentialFile
#include "leveldb/status.h" // for Status
#include "util/coding.h" // for DecodeFixed32
#include "util/crc32c.h" // for Unmask, Value
---
leveldb/db/filename.h should remove these lines:
- #include "leveldb/slice.h" // lines 12-12
- #include "port/port.h" // lines 14-14
The full include-list for leveldb/db/filename.h:
#include <stdint.h> // for uint64_t
#include <string> // for string
#include "leveldb/status.h" // for Status
namespace leveldb { class Env; } // lines 18-18
---
make[2]: *** [leveldb/db/leveldb_libleveldb_a-log_reader.o] Error 7
CXX leveldb/db/leveldb_libleveldb_a-repair.o
leveldb/db/filename.cc should add these lines:
#include <assert.h> // for assert
#include <string.h> // for strlen
#include "leveldb/slice.h" // for operator==, Slice
leveldb/db/filename.cc should remove these lines:
- #include <ctype.h> // lines 5-5
- #include "db/dbformat.h" // lines 8-8
The full include-list for leveldb/db/filename.cc:
#include "db/filename.h"
#include <assert.h> // for assert
#include <stdio.h> // for snprintf
#include <string.h> // for strlen
#include "leveldb/env.h" // for Env
#include "leveldb/slice.h" // for operator==, Slice
#include "util/logging.h" // for ConsumeDecimalNumber
---
make[2]: *** [leveldb/db/leveldb_libleveldb_a-filename.o] Error 9
CXX leveldb/db/leveldb_libleveldb_a-table_cache.o
leveldb/db/db_iter.h should add these lines:
namespace leveldb { class Comparator; }
namespace leveldb { class Iterator; }
leveldb/db/db_iter.h should remove these lines:
- #include "leveldb/db.h" // lines 9-9
The full include-list for leveldb/db/db_iter.h:
#include <stdint.h> // for uint32_t
#include "db/dbformat.h" // for SequenceNumber
namespace leveldb { class Comparator; }
namespace leveldb { class DBImpl; } // lines 14-14
namespace leveldb { class Iterator; }
---
leveldb/db/db_iter.cc should add these lines:
#include <assert.h> // for assert
#include <sys/types.h> // for ssize_t
#include <string> // for string, basic_string, swap
#include "leveldb/comparator.h" // for Comparator
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
leveldb/db/db_iter.cc should remove these lines:
- #include "db/filename.h" // lines 7-7
- #include "leveldb/env.h" // lines 10-10
- #include "port/port.h" // lines 12-12
- #include "util/logging.h" // lines 13-13
- #include "util/mutexlock.h" // lines 14-14
The full include-list for leveldb/db/db_iter.cc:
#include "db/db_iter.h"
#include <assert.h> // for assert
#include <sys/types.h> // for ssize_t
#include <string> // for string, basic_string, swap
#include "db/db_impl.h" // for DBImpl
#include "db/dbformat.h" // for ExtractUserKey, ParsedInternalKey, kTypeDeletion, AppendInternalKey, ParseInternalKey, SequenceNumber, ValueType, kReadBytesPeriod, kTypeValue, kValueTypeForSeek
#include "leveldb/comparator.h" // for Comparator
#include "leveldb/iterator.h" // for Iterator
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
#include "util/random.h" // for Random
---
make[2]: *** [leveldb/db/leveldb_libleveldb_a-db_iter.o] Error 16
CXX leveldb/db/leveldb_libleveldb_a-version_edit.o
leveldb/db/dumpfile.cc should add these lines:
#include <stdint.h> // for uint64_t
#include <string> // for string, basic_string, operator+, allocator, char_traits, basic_string<>::value_type
#include "leveldb/slice.h" // for Slice
The full include-list for leveldb/db/dumpfile.cc:
#include <stdint.h> // for uint64_t
#include <stdio.h> // for NULL, size_t
#include <string> // for string, basic_string, operator+, allocator, char_traits, basic_string<>::value_type
#include "db/dbformat.h" // for ParsedInternalKey, ParseInternalKey, kTypeDeletion, kTypeValue
#include "db/filename.h" // for ParseFileName, FileType, kDescriptorFile, kLogFile, kTableFile
#include "db/log_reader.h" // for Reader, Reader::Reporter
#include "db/version_edit.h" // for VersionEdit
#include "db/write_batch_internal.h" // for WriteBatchInternal
#include "leveldb/env.h" // for WritableFile, Env, RandomAccessFile, SequentialFile
#include "leveldb/iterator.h" // for Iterator
#include "leveldb/options.h" // for ReadOptions, Options
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
#include "leveldb/table.h" // for Table
#include "leveldb/write_batch.h" // for WriteBatch, WriteBatch::Handler
#include "util/logging.h" // for AppendEscapedStringTo, AppendNumberTo
---
make[2]: *** [leveldb/db/leveldb_libleveldb_a-dumpfile.o] Error 5
CXX leveldb/db/leveldb_libleveldb_a-version_set.o
leveldb/db/log_writer.h should add these lines:
#include <stddef.h> // for size_t
The full include-list for leveldb/db/log_writer.h:
#include <stddef.h> // for size_t
#include <stdint.h> // for uint32_t, uint64_t
#include "db/log_format.h" // for RecordType, kMaxRecordType
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
namespace leveldb { class WritableFile; } // lines 15-15
---
leveldb/db/log_writer.cc should add these lines:
#include <assert.h> // for assert
The full include-list for leveldb/db/log_writer.cc:
#include "db/log_writer.h"
#include <assert.h> // for assert
#include <stdint.h> // for uint32_t, uint64_t
#include "leveldb/env.h" // for WritableFile
#include "util/coding.h" // for EncodeFixed32
#include "util/crc32c.h" // for Extend, Mask, Value
---
make[2]: *** [leveldb/db/leveldb_libleveldb_a-log_writer.o] Error 4
CXX leveldb/db/leveldb_libleveldb_a-write_batch.o
leveldb/db/memtable.h should add these lines:
#include <assert.h> // for assert
#include <stddef.h> // for size_t
#include "leveldb/slice.h" // for Slice
namespace leveldb { class Iterator; }
namespace leveldb { class Status; }
leveldb/db/memtable.h should remove these lines:
- #include "leveldb/db.h" // lines 9-9
- namespace leveldb { class InternalKeyComparator; } // lines 16-16
- namespace leveldb { class MemTableIterator; } // lines 18-18
- namespace leveldb { class Mutex; } // lines 17-17
The full include-list for leveldb/db/memtable.h:
#include <assert.h> // for assert
#include <stddef.h> // for size_t
#include <string> // for string
#include "db/dbformat.h" // for InternalKeyComparator, LookupKey (ptr only), SequenceNumber, ValueType
#include "db/skiplist.h" // for SkipList
#include "leveldb/slice.h" // for Slice
#include "util/arena.h" // for Arena
namespace leveldb { class Iterator; }
namespace leveldb { class Status; }
---
leveldb/db/memtable.cc should add these lines:
#include <stdint.h> // for uint32_t, uint64_t
#include <string.h> // for memcpy, size_t
#include "leveldb/status.h" // for Status
leveldb/db/memtable.cc should remove these lines:
- #include "leveldb/env.h" // lines 8-8
The full include-list for leveldb/db/memtable.cc:
#include "db/memtable.h"
#include <stdint.h> // for uint32_t, uint64_t
#include <string.h> // for memcpy, size_t
#include "db/dbformat.h" // for InternalKeyComparator, LookupKey, ValueType, SequenceNumber, kTypeDeletion, kTypeValue
#include "leveldb/comparator.h" // for Comparator
#include "leveldb/iterator.h" // for Iterator
#include "leveldb/status.h" // for Status
#include "util/coding.h" // for EncodeVarint32, GetVarint32Ptr, VarintLength, DecodeFixed64, EncodeFixed64, PutVarint32
---
make[2]: *** [leveldb/db/leveldb_libleveldb_a-memtable.o] Error 15
CXX leveldb/table/leveldb_libleveldb_a-block_builder.o
leveldb/db/db_impl.h should add these lines:
#include <stdint.h> // for uint64_t, int64_t, uint32_t
#include <string> // for string, basic_string
#include "leveldb/options.h" // for ReadOptions (ptr only), WriteOptions (ptr only), Options
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
#include "port/atomic_pointer.h" // for AtomicPointer
#include "port/port_posix.h" // for CondVar, Mutex
namespace leveldb { class Comparator; }
namespace leveldb { class Env; }
namespace leveldb { class FileLock; }
namespace leveldb { class Iterator; }
namespace leveldb { class WritableFile; }
namespace leveldb { class WriteBatch; }
namespace leveldb { namespace log { class Writer; } }
leveldb/db/db_impl.h should remove these lines:
- #include "db/log_writer.h" // lines 11-11
- #include "leveldb/env.h" // lines 14-14
- #include "port/port.h" // lines 15-15
The full include-list for leveldb/db/db_impl.h:
#include <stdint.h> // for uint64_t, int64_t, uint32_t
#include <deque> // for deque
#include <set> // for set
#include <string> // for string, basic_string
#include "db/dbformat.h" // for InternalKeyComparator, SequenceNumber, InternalFilterPolicy, InternalKey, kNumLevels
#include "db/snapshot.h" // for SnapshotList
#include "leveldb/db.h" // for Snapshot (ptr only), DB, Range (ptr only)
#include "leveldb/options.h" // for ReadOptions (ptr only), WriteOptions (ptr only), Options
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
#include "port/atomic_pointer.h" // for AtomicPointer
#include "port/port_posix.h" // for CondVar, Mutex
#include "port/thread_annotations.h" // for EXCLUSIVE_LOCKS_REQUIRED
namespace leveldb { class Comparator; }
namespace leveldb { class Env; }
namespace leveldb { class FileLock; }
namespace leveldb { class Iterator; }
namespace leveldb { class MemTable; } // lines 20-20
namespace leveldb { class TableCache; } // lines 21-21
namespace leveldb { class Version; } // lines 22-22
namespace leveldb { class VersionEdit; } // lines 23-23
namespace leveldb { class VersionSet; } // lines 24-24
namespace leveldb { class WritableFile; }
namespace leveldb { class WriteBatch; }
namespace leveldb { namespace log { class Writer; } }
namespace leveldb { struct DBImpl::CompactionState; } // lines 69-69
namespace leveldb { struct DBImpl::Writer; } // lines 70-70
---
leveldb/db/db_impl.cc should add these lines:
#include <assert.h> // for assert
#include <string.h> // for strlen
#include <cstdint> // for uint64_t, uint32_t, int64_t
#include "db/version_edit.h" // for FileMetaData, VersionEdit
#include "leveldb/cache.h" // for NewLRUCache, Cache
#include "leveldb/comparator.h" // for Comparator
#include "leveldb/iterator.h" // for Iterator
#include "leveldb/write_batch.h" // for WriteBatch
leveldb/db/db_impl.cc should remove these lines:
- #include <stdint.h> // lines 10-10
- #include "leveldb/table.h" // lines 26-26
- #include "port/port.h" // lines 28-28
- #include "table/block.h" // lines 29-29
- #include "table/two_level_iterator.h" // lines 31-31
- #include "util/coding.h" // lines 32-32
The full include-list for leveldb/db/db_impl.cc:
#include "db/db_impl.h"
#include <assert.h> // for assert
#include <stdio.h> // for NULL, snprintf, size_t
#include <string.h> // for strlen
#include <algorithm> // for sort
#include <cstdint> // for uint64_t, uint32_t, int64_t
#include <set> // for set, operator!=, set<>::iterator, __tree_const_iterator
#include <string> // for string, basic_string, operator+
#include <vector> // for vector, __vector_base<>::value_type
#include "db/builder.h" // for BuildTable
#include "db/db_iter.h" // for NewDBIterator
#include "db/dbformat.h" // for InternalKey, SequenceNumber, ParsedInternalKey, kMaxSequenceNumber, kNumLevels, ParseInternalKey, kValueTypeForSeek, InternalKeyComparator, InternalFilterPolicy, LookupKey, ValueType, kL0_SlowdownWritesTrigger, kL0_StopWritesTrigger, kTypeDeletion
#include "db/filename.h" // for LogFileName, ParseFileName, InfoLogFileName, LockFileName, TableFileName, CurrentFileName, DescriptorFileName, FileType, OldInfoLogFileName, SetCurrentFile, kDBLockFile, kLogFile, kTableFile, kCurrentFile, kDescriptorFile, kInfoLogFile, kTempFile
#include "db/log_reader.h" // for Reader, Reader::Reporter
#include "db/log_writer.h" // for Writer
#include "db/memtable.h" // for MemTable
#include "db/table_cache.h" // for TableCache
#include "db/version_edit.h" // for FileMetaData, VersionEdit
#include "db/version_set.h" // for VersionSet, Compaction, Version, VersionSet::LevelSummaryStorage, Version::GetStats
#include "db/write_batch_internal.h" // for WriteBatchInternal
#include "leveldb/cache.h" // for NewLRUCache, Cache
#include "leveldb/comparator.h" // for Comparator
#include "leveldb/db.h" // for DB, Range, Snapshot, DestroyDB
#include "leveldb/env.h" // for Log, Env, WritableFile, FileLock (ptr only), Logger, SequentialFile
#include "leveldb/iterator.h" // for Iterator
#include "leveldb/status.h" // for Status
#include "leveldb/table_builder.h" // for TableBuilder
#include "leveldb/write_batch.h" // for WriteBatch
#include "table/merger.h" // for NewMergingIterator
#include "util/logging.h" // for ConsumeDecimalNumber
#include "util/mutexlock.h" // for MutexLock
---
make[2]: *** [leveldb/db/leveldb_libleveldb_a-db_impl.o] Error 33
CXX leveldb/table/leveldb_libleveldb_a-block.o
leveldb/db/table_cache.h should add these lines:
#include <stddef.h> // for NULL
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
namespace leveldb { class Iterator; }
namespace leveldb { class Table; }
namespace leveldb { struct Options; }
namespace leveldb { struct ReadOptions; }
leveldb/db/table_cache.h should remove these lines:
- #include "db/dbformat.h" // lines 12-12
- #include "leveldb/table.h" // lines 14-14
- #include "port/port.h" // lines 15-15
The full include-list for leveldb/db/table_cache.h:
#include <stddef.h> // for NULL
#include <stdint.h> // for uint64_t
#include <string> // for string, basic_string
#include "leveldb/cache.h" // for Cache
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
namespace leveldb { class Env; } // lines 19-19
namespace leveldb { class Iterator; }
namespace leveldb { class Table; }
namespace leveldb { struct Options; }
namespace leveldb { struct ReadOptions; }
---
leveldb/db/table_cache.cc should add these lines:
#include <assert.h> // for assert
#include "leveldb/iterator.h" // for NewErrorIterator, Iterator
#include "leveldb/options.h" // for ReadOptions (ptr only), Options
The full include-list for leveldb/db/table_cache.cc:
#include "db/table_cache.h"
#include <assert.h> // for assert
#include "db/filename.h" // for SSTTableFileName, TableFileName
#include "leveldb/env.h" // for Env, RandomAccessFile
#include "leveldb/iterator.h" // for NewErrorIterator, Iterator
#include "leveldb/options.h" // for ReadOptions (ptr only), Options
#include "leveldb/table.h" // for Table
#include "util/coding.h" // for EncodeFixed64
---
make[2]: *** [leveldb/db/leveldb_libleveldb_a-table_cache.o] Error 15
CXX leveldb/table/leveldb_libleveldb_a-filter_block.o
(leveldb/include/leveldb/write_batch.h has correct #includes/fwd-decls)
leveldb/db/write_batch.cc should add these lines:
#include <assert.h> // for assert
#include <stddef.h> // for size_t
#include "leveldb/slice.h" // for Slice
leveldb/db/write_batch.cc should remove these lines:
- #include "leveldb/db.h" // lines 18-18
The full include-list for leveldb/db/write_batch.cc:
#include "leveldb/write_batch.h"
#include <assert.h> // for assert
#include <stddef.h> // for size_t
#include "db/dbformat.h" // for SequenceNumber, kTypeDeletion, kTypeValue
#include "db/memtable.h" // for MemTable
#include "db/write_batch_internal.h" // for WriteBatchInternal
#include "leveldb/slice.h" // for Slice
#include "util/coding.h" // for GetLengthPrefixedSlice, PutLengthPrefixedSlice, DecodeFixed32, DecodeFixed64, EncodeFixed32, EncodeFixed64
---
make[2]: *** [leveldb/db/leveldb_libleveldb_a-write_batch.o] Error 6
CXX leveldb/table/leveldb_libleveldb_a-format.o
leveldb/table/block_builder.h should add these lines:
#include <stddef.h> // for size_t
#include <cstdint> // for uint32_t
#include <string> // for basic_string, string
leveldb/table/block_builder.h should remove these lines:
- #include <stdint.h> // lines 10-10
The full include-list for leveldb/table/block_builder.h:
#include <stddef.h> // for size_t
#include <cstdint> // for uint32_t
#include <string> // for basic_string, string
#include <vector> // for vector
#include "leveldb/slice.h" // for Slice
namespace leveldb { struct Options; } // lines 15-15
---
leveldb/table/block_builder.cc should add these lines:
#include <stdint.h> // for uint32_t
#include "leveldb/options.h" // for Options
leveldb/table/block_builder.cc should remove these lines:
- #include "leveldb/table_builder.h" // lines 34-34
The full include-list for leveldb/table/block_builder.cc:
#include "table/block_builder.h"
#include <assert.h> // for assert
#include <stdint.h> // for uint32_t
#include <algorithm> // for min
#include "leveldb/comparator.h" // for Comparator
#include "leveldb/options.h" // for Options
#include "util/coding.h" // for PutVarint32, PutFixed32
---
make[2]: *** [leveldb/table/leveldb_libleveldb_a-block_builder.o] Error 9
CXX leveldb/table/leveldb_libleveldb_a-iterator.o
leveldb/db/version_edit.h should add these lines:
#include <cstdint> // for uint64_t
#include <string> // for string, basic_string
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
leveldb/db/version_edit.h should remove these lines:
- namespace leveldb { class VersionSet; } // lines 15-15
The full include-list for leveldb/db/version_edit.h:
#include <cstdint> // for uint64_t
#include <set> // for set
#include <string> // for string, basic_string
#include <utility> // for pair, make_pair
#include <vector> // for vector
#include "db/dbformat.h" // for InternalKey, SequenceNumber
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
---
leveldb/db/repair.cc should add these lines:
#include <string.h> // for size_t, NULL, strrchr
#include <cstdint> // for uint64_t
#include <string> // for string, basic_string, operator+, basic_string<>::value_type
#include <vector> // for vector, __vector_base<>::value_type
#include "leveldb/cache.h" // for Cache
#include "leveldb/iterator.h" // for Iterator
#include "leveldb/options.h" // for Options, ReadOptions
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
#include "leveldb/table_builder.h" // for TableBuilder
#include "leveldb/write_batch.h" // for WriteBatch
#include "util/logging.h" // for EscapeString
The full include-list for leveldb/db/repair.cc:
#include <string.h> // for size_t, NULL, strrchr
#include <cstdint> // for uint64_t
#include <string> // for string, basic_string, operator+, basic_string<>::value_type
#include <vector> // for vector, __vector_base<>::value_type
#include "db/builder.h" // for BuildTable
#include "db/db_impl.h" // for SanitizeOptions
#include "db/dbformat.h" // for ParseInternalKey, ParsedInternalKey, InternalKey, InternalKeyComparator, SequenceNumber, InternalFilterPolicy
#include "db/filename.h" // for TableFileName, LogFileName, SSTTableFileName, DescriptorFileName, ParseFileName, SetCurrentFile, TempFileName, FileType, kDescriptorFile, kLogFile, kTableFile
#include "db/log_reader.h" // for Reader, Reader::Reporter
#include "db/log_writer.h" // for Writer
#include "db/memtable.h" // for MemTable
#include "db/table_cache.h" // for TableCache
#include "db/version_edit.h" // for FileMetaData, VersionEdit
#include "db/write_batch_internal.h" // for WriteBatchInternal
#include "leveldb/cache.h" // for Cache
#include "leveldb/comparator.h" // for Comparator
#include "leveldb/db.h" // for RepairDB
#include "leveldb/env.h" // for Log, Env, WritableFile, Logger, SequentialFile
#include "leveldb/iterator.h" // for Iterator
#include "leveldb/options.h" // for Options, ReadOptions
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
#include "leveldb/table_builder.h" // for TableBuilder
#include "leveldb/write_batch.h" // for WriteBatch
#include "util/logging.h" // for EscapeString
---
make[2]: *** [leveldb/db/leveldb_libleveldb_a-repair.o] Error 14
CXX leveldb/table/leveldb_libleveldb_a-merger.o
leveldb/db/version_edit.cc should add these lines:
#include <stdint.h> // for uint64_t
#include <cstdlib> // for NULL, size_t, uint32_t
#include "util/logging.h" // for AppendNumberTo
leveldb/db/version_edit.cc should remove these lines:
- #include "db/version_set.h" // lines 7-7
The full include-list for leveldb/db/version_edit.cc:
#include "db/version_edit.h"
#include <stdint.h> // for uint64_t
#include <cstdlib> // for NULL, size_t, uint32_t
#include "util/coding.h" // for PutVarint32, GetVarint64, PutVarint64, PutLengthPrefixedSlice, GetLengthPrefixedSlice, GetVarint32
#include "util/logging.h" // for AppendNumberTo
---
make[2]: *** [leveldb/db/leveldb_libleveldb_a-version_edit.o] Error 11
CXX leveldb/table/leveldb_libleveldb_a-table_builder.o
leveldb/table/block.h should add these lines:
namespace leveldb { class Iterator; }
leveldb/table/block.h should remove these lines:
- #include "leveldb/iterator.h" // lines 10-10
The full include-list for leveldb/table/block.h:
#include <stddef.h> // for size_t
#include <stdint.h> // for uint32_t
namespace leveldb { class Block::Iter; } // lines 39-39
namespace leveldb { class Comparator; } // lines 15-15
namespace leveldb { class Iterator; }
namespace leveldb { struct BlockContents; } // lines 14-14
---
leveldb/table/block.cc should add these lines:
#include <assert.h> // for assert
#include <string> // for basic_string, string
#include "leveldb/iterator.h" // for NewEmptyIterator, NewErrorIterator, Iterator
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
leveldb/table/block.cc should remove these lines:
- #include <algorithm> // lines 10-10
- #include <vector> // lines 9-9
- #include "util/logging.h" // lines 14-14
The full include-list for leveldb/table/block.cc:
#include "table/block.h"
#include <assert.h> // for assert
#include <string> // for basic_string, string
#include "leveldb/comparator.h" // for Comparator
#include "leveldb/iterator.h" // for NewEmptyIterator, NewErrorIterator, Iterator
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
#include "table/format.h" // for BlockContents
#include "util/coding.h" // for GetVarint32Ptr, DecodeFixed32
---
make[2]: *** [leveldb/table/leveldb_libleveldb_a-block.o] Error 12
CXX leveldb/table/leveldb_libleveldb_a-table.o
leveldb/db/version_set.h should add these lines:
#include <assert.h> // for assert
#include <stddef.h> // for NULL, size_t
#include <stdint.h> // for uint64_t, int64_t
#include <string> // for string, basic_string
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
namespace leveldb { class Env; }
namespace leveldb { namespace port { class Mutex; } }
namespace leveldb { struct Options; }
namespace leveldb { struct ReadOptions; }
leveldb/db/version_set.h should remove these lines:
- #include <map> // lines 18-18
- #include "port/port.h" // lines 23-23
- namespace leveldb { class MemTable; } // lines 32-32
- namespace leveldb { class TableBuilder; } // lines 33-33
- namespace leveldb { class Version; } // lines 35-35
The full include-list for leveldb/db/version_set.h:
#include <assert.h> // for assert
#include <stddef.h> // for NULL, size_t
#include <stdint.h> // for uint64_t, int64_t
#include <set> // for set
#include <string> // for string, basic_string
#include <vector> // for vector
#include "db/dbformat.h" // for InternalKey (ptr only), kNumLevels, InternalKeyComparator, LookupKey (ptr only)
#include "db/version_edit.h" // for FileMetaData (ptr only), VersionEdit
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
#include "port/thread_annotations.h" // for EXCLUSIVE_LOCKS_REQUIRED
namespace leveldb { class Compaction; } // lines 30-30
namespace leveldb { class Env; }
namespace leveldb { class Iterator; } // lines 31-31
namespace leveldb { class TableCache; } // lines 34-34
namespace leveldb { class Version::LevelFileNumIterator; } // lines 120-120
namespace leveldb { class VersionSet::Builder; } // lines 272-272
namespace leveldb { class VersionSet; } // lines 36-36
namespace leveldb { class WritableFile; } // lines 37-37
namespace leveldb { namespace log { class Writer; } } // lines 28-28
namespace leveldb { namespace port { class Mutex; } }
namespace leveldb { struct Options; }
namespace leveldb { struct ReadOptions; }
---
leveldb/table/filter_block.h should add these lines:
#include <cstddef> // for size_t
#include <cstdint> // for uint32_t, uint64_t
leveldb/table/filter_block.h should remove these lines:
- #include <stddef.h> // lines 12-12
- #include <stdint.h> // lines 13-13
- #include "util/hash.h" // lines 17-17
The full include-list for leveldb/table/filter_block.h:
#include <cstddef> // for size_t
#include <cstdint> // for uint32_t, uint64_t
#include <string> // for basic_string, string
#include <vector> // for vector
#include "leveldb/slice.h" // for Slice
namespace leveldb { class FilterPolicy; } // lines 21-21
---
leveldb/table/filter_block.cc should add these lines:
#include <assert.h> // for assert
#include <stddef.h> // for size_t, NULL
#include <stdint.h> // for uint32_t, uint64_t
The full include-list for leveldb/table/filter_block.cc:
#include "table/filter_block.h"
#include <assert.h> // for assert
#include <stddef.h> // for size_t, NULL
#include <stdint.h> // for uint32_t, uint64_t
#include "leveldb/filter_policy.h" // for FilterPolicy
#include "util/coding.h" // for DecodeFixed32, PutFixed32
---
make[2]: *** [leveldb/table/leveldb_libleveldb_a-filter_block.o] Error 10
CXX leveldb/table/leveldb_libleveldb_a-two_level_iterator.o
leveldb/db/version_set.cc should add these lines:
#include <stdlib.h> // for abort
#include <cstdint> // for uint64_t, uint32_t, int64_t
#include <map> // for operator!=, __tree_const_iterator
#include <utility> // for pair
#include "leveldb/comparator.h" // for Comparator
#include "leveldb/iterator.h" // for NewErrorIterator, Iterator
#include "leveldb/options.h" // for Options, ReadOptions
#include "leveldb/table.h" // for Table
#include "port/port_posix.h" // for Mutex
leveldb/db/version_set.cc should remove these lines:
- #include "db/memtable.h" // lines 12-12
- #include "leveldb/table_builder.h" // lines 15-15
The full include-list for leveldb/db/version_set.cc:
#include "db/version_set.h"
#include <stdio.h> // for NULL, size_t, fprintf, snprintf, stderr
#include <stdlib.h> // for abort
#include <algorithm> // for sort, upper_bound
#include <cstdint> // for uint64_t, uint32_t, int64_t
#include <map> // for operator!=, __tree_const_iterator
#include <utility> // for pair
#include "db/filename.h" // for CurrentFileName, DescriptorFileName, ParseFileName, SetCurrentFile, FileType, kDescriptorFile
#include "db/log_reader.h" // for Reader, Reader::Reporter
#include "db/log_writer.h" // for Writer
#include "db/table_cache.h" // for TableCache
#include "leveldb/comparator.h" // for Comparator
#include "leveldb/env.h" // for Log, Env, ReadFileToString, WritableFile, SequentialFile
#include "leveldb/iterator.h" // for NewErrorIterator, Iterator
#include "leveldb/options.h" // for Options, ReadOptions
#include "leveldb/table.h" // for Table
#include "port/port_posix.h" // for Mutex
#include "table/merger.h" // for NewMergingIterator
#include "table/two_level_iterator.h" // for NewTwoLevelIterator
#include "util/coding.h" // for DecodeFixed64, EncodeFixed64
#include "util/logging.h" // for AppendNumberTo
---
make[2]: *** [leveldb/db/leveldb_libleveldb_a-version_set.o] Error 28
CXX leveldb/util/leveldb_libleveldb_a-arena.o
(leveldb/include/leveldb/iterator.h has correct #includes/fwd-decls)
leveldb/table/iterator.cc should add these lines:
#include <assert.h> // for assert
#include <stddef.h> // for NULL
The full include-list for leveldb/table/iterator.cc:
#include "leveldb/iterator.h"
#include <assert.h> // for assert
#include <stddef.h> // for NULL
---
make[2]: *** [leveldb/table/leveldb_libleveldb_a-iterator.o] Error 4
CXX leveldb/util/leveldb_libleveldb_a-bloom.o
leveldb/table/format.h should add these lines:
#include <stddef.h> // for size_t
leveldb/table/format.h should remove these lines:
- #include "leveldb/table_builder.h" // lines 12-12
- namespace leveldb { class Block; } // lines 16-16
The full include-list for leveldb/table/format.h:
#include <stddef.h> // for size_t
#include <stdint.h> // for uint64_t
#include <string> // for string
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
namespace leveldb { class RandomAccessFile; } // lines 17-17
namespace leveldb { struct ReadOptions; } // lines 18-18
---
leveldb/table/format.cc should add these lines:
#include <assert.h> // for assert
#include "leveldb/options.h" // for ReadOptions, kNoCompression, kSnappyCompression
#include "port/port_posix.h" // for Snappy_GetUncompressedLength, Snappy_Uncompress
leveldb/table/format.cc should remove these lines:
- #include "port/port.h" // lines 8-8
- #include "table/block.h" // lines 9-9
The full include-list for leveldb/table/format.cc:
#include "table/format.h"
#include <assert.h> // for assert
#include "leveldb/env.h" // for RandomAccessFile
#include "leveldb/options.h" // for ReadOptions, kNoCompression, kSnappyCompression
#include "port/port_posix.h" // for Snappy_GetUncompressedLength, Snappy_Uncompress
#include "util/coding.h" // for DecodeFixed32, GetVarint64, PutFixed32, PutVarint64
#include "util/crc32c.h" // for Unmask, Value
---
make[2]: *** [leveldb/table/leveldb_libleveldb_a-format.o] Error 10
CXX leveldb/util/leveldb_libleveldb_a-cache.o
(leveldb/table/merger.h has correct #includes/fwd-decls)
leveldb/table/merger.cc should add these lines:
#include <assert.h> // for assert
#include <stddef.h> // for NULL
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
The full include-list for leveldb/table/merger.cc:
#include "table/merger.h"
#include <assert.h> // for assert
#include <stddef.h> // for NULL
#include "leveldb/comparator.h" // for Comparator
#include "leveldb/iterator.h" // for NewEmptyIterator, Iterator
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
#include "table/iterator_wrapper.h" // for IteratorWrapper
---
make[2]: *** [leveldb/table/leveldb_libleveldb_a-merger.o] Error 6
CXX leveldb/util/leveldb_libleveldb_a-coding.o
leveldb/include/leveldb/table_builder.h should add these lines:
#include "leveldb/slice.h" // for Slice
The full include-list for leveldb/include/leveldb/table_builder.h:
#include <stdint.h> // for uint64_t
#include "leveldb/options.h" // for Options (ptr only), CompressionType
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
namespace leveldb { class BlockBuilder; } // lines 22-22
namespace leveldb { class BlockHandle; } // lines 23-23
namespace leveldb { class WritableFile; } // lines 24-24
namespace leveldb { struct TableBuilder::Rep; } // lines 82-82
---
leveldb/table/table_builder.cc should add these lines:
#include <stddef.h> // for NULL, size_t
#include <string> // for string, basic_string
#include "port/port_posix.h" // for Snappy_Compress
The full include-list for leveldb/table/table_builder.cc:
#include "leveldb/table_builder.h"
#include <assert.h> // for assert
#include <stddef.h> // for NULL, size_t
#include <string> // for string, basic_string
#include "leveldb/comparator.h" // for Comparator
#include "leveldb/env.h" // for WritableFile
#include "leveldb/filter_policy.h" // for FilterPolicy
#include "leveldb/options.h" // for Options, kNoCompression, CompressionType, kSnappyCompression
#include "port/port_posix.h" // for Snappy_Compress
#include "table/block_builder.h" // for BlockBuilder
#include "table/filter_block.h" // for FilterBlockBuilder
#include "table/format.h" // for BlockHandle, Footer, kBlockTrailerSize
#include "util/coding.h" // for EncodeFixed32
#include "util/crc32c.h" // for Extend, Mask, Value
---
make[2]: *** [leveldb/table/leveldb_libleveldb_a-table_builder.o] Error 6
CXX leveldb/util/leveldb_libleveldb_a-comparator.o
leveldb/include/leveldb/table.h should add these lines:
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
namespace leveldb { class Iterator; }
leveldb/include/leveldb/table.h should remove these lines:
- #include "leveldb/iterator.h" // lines 9-9
- namespace leveldb { class Block; } // lines 13-13
- namespace leveldb { class BlockHandle; } // lines 14-14
- namespace leveldb { class TableCache; } // lines 19-19
The full include-list for leveldb/include/leveldb/table.h:
#include <stdint.h> // for uint64_t
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
namespace leveldb { class Footer; } // lines 15-15
namespace leveldb { class Iterator; }
namespace leveldb { class RandomAccessFile; } // lines 17-17
namespace leveldb { struct Options; } // lines 16-16
namespace leveldb { struct ReadOptions; } // lines 18-18
namespace leveldb { struct Table::Rep; } // lines 59-59
---
leveldb/table/table.cc should add these lines:
#include <stddef.h> // for NULL
#include <string> // for basic_string, string
#include "leveldb/iterator.h" // for Iterator, NewErrorIterator
The full include-list for leveldb/table/table.cc:
#include "leveldb/table.h"
#include <stddef.h> // for NULL
#include <string> // for basic_string, string
#include "leveldb/cache.h" // for Cache
#include "leveldb/comparator.h" // for BytewiseComparator
#include "leveldb/env.h" // for RandomAccessFile
#include "leveldb/filter_policy.h" // for FilterPolicy
#include "leveldb/iterator.h" // for Iterator, NewErrorIterator
#include "leveldb/options.h" // for Options, ReadOptions
#include "table/block.h" // for Block
#include "table/filter_block.h" // for FilterBlockReader
#include "table/format.h" // for BlockHandle, ReadBlock, Footer, BlockContents, Footer::kEncodedLength
#include "table/two_level_iterator.h" // for NewTwoLevelIterator
#include "util/coding.h" // for EncodeFixed64
---
make[2]: *** [leveldb/table/leveldb_libleveldb_a-table.o] Error 12
CXX leveldb/util/leveldb_libleveldb_a-crc32c.o
leveldb/table/two_level_iterator.h should add these lines:
namespace leveldb { class Iterator; }
namespace leveldb { class Slice; }
leveldb/table/two_level_iterator.h should remove these lines:
- #include "leveldb/iterator.h" // lines 8-8
The full include-list for leveldb/table/two_level_iterator.h:
namespace leveldb { class Iterator; }
namespace leveldb { class Slice; }
namespace leveldb { struct ReadOptions; } // lines 12-12
---
leveldb/table/two_level_iterator.cc should add these lines:
#include <assert.h> // for assert
#include <stddef.h> // for NULL
#include <string> // for basic_string, string
#include "leveldb/iterator.h" // for Iterator
#include "leveldb/options.h" // for ReadOptions
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
leveldb/table/two_level_iterator.cc should remove these lines:
- #include "leveldb/table.h" // lines 7-7
- #include "table/block.h" // lines 8-8
- #include "table/format.h" // lines 9-9
The full include-list for leveldb/table/two_level_iterator.cc:
#include "table/two_level_iterator.h"
#include <assert.h> // for assert
#include <stddef.h> // for NULL
#include <string> // for basic_string, string
#include "leveldb/iterator.h" // for Iterator
#include "leveldb/options.h" // for ReadOptions
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
#include "table/iterator_wrapper.h" // for IteratorWrapper
---
make[2]: *** [leveldb/table/leveldb_libleveldb_a-two_level_iterator.o] Error 15
CXX leveldb/util/leveldb_libleveldb_a-env.o
leveldb/util/bloom.cc should add these lines:
#include <cstdlib> // for size_t, uint32_t
#include <string> // for string, basic_string
The full include-list for leveldb/util/bloom.cc:
#include <cstdlib> // for size_t, uint32_t
#include <string> // for string, basic_string
#include "leveldb/filter_policy.h" // for FilterPolicy, NewBloomFilterPolicy
#include "leveldb/slice.h" // for Slice
#include "util/hash.h" // for Hash
---
make[2]: *** [leveldb/util/leveldb_libleveldb_a-bloom.o] Error 4
CXX leveldb/util/leveldb_libleveldb_a-env_posix.o
leveldb/util/cache.cc should add these lines:
#include <stdint.h> // for uint64_t
#include <string.h> // for memcpy, memset
#include "leveldb/slice.h" // for Slice, operator!=
#include "port/port_posix.h" // for Mutex
leveldb/util/cache.cc should remove these lines:
- #include "port/port.h" // lines 10-10
The full include-list for leveldb/util/cache.cc:
#include <assert.h> // for assert
#include <stdint.h> // for uint64_t
#include <stdio.h> // for size_t, NULL
#include <stdlib.h> // for uint32_t, free, malloc
#include <string.h> // for memcpy, memset
#include "leveldb/cache.h" // for Cache, NewLRUCache
#include "leveldb/slice.h" // for Slice, operator!=
#include "port/port_posix.h" // for Mutex
#include "util/hash.h" // for Hash
#include "util/mutexlock.h" // for MutexLock
---
make[2]: *** [leveldb/util/leveldb_libleveldb_a-cache.o] Error 7
CXX leveldb/util/leveldb_libleveldb_a-filter_policy.o
leveldb/util/arena.h should add these lines:
#include "port/atomic_pointer.h" // for AtomicPointer
leveldb/util/arena.h should remove these lines:
- #include "port/port.h" // lines 12-12
The full include-list for leveldb/util/arena.h:
#include <assert.h> // for assert
#include <stddef.h> // for size_t
#include <stdint.h> // for uintptr_t
#include <vector> // for vector
#include "port/atomic_pointer.h" // for AtomicPointer
---
(leveldb/util/arena.cc has correct #includes/fwd-decls)
make[2]: *** [leveldb/util/leveldb_libleveldb_a-arena.o] Error 4
CXX leveldb/util/leveldb_libleveldb_a-hash.o
leveldb/util/coding.h should add these lines:
#include "port/port_posix.h" // for kLittleEndian
leveldb/util/coding.h should remove these lines:
- #include "port/port.h" // lines 17-17
The full include-list for leveldb/util/coding.h:
#include <stdint.h> // for uint32_t, uint64_t
#include <string.h> // for memcpy
#include <string> // for string
#include "leveldb/slice.h" // for Slice
#include "port/port_posix.h" // for kLittleEndian
---
(leveldb/util/coding.cc has correct #includes/fwd-decls)
make[2]: *** [leveldb/util/leveldb_libleveldb_a-coding.o] Error 4
CXX leveldb/util/leveldb_libleveldb_a-histogram.o
leveldb/util/comparator.cc should add these lines:
#include <assert.h> // for assert
#include <stddef.h> // for size_t
#include <string> // for string, basic_string
#include "port/port_posix.h" // for InitOnce, LEVELDB_ONCE_INIT, OnceType
leveldb/util/comparator.cc should remove these lines:
- #include "port/port.h" // lines 9-9
- #include "util/logging.h" // lines 10-10
The full include-list for leveldb/util/comparator.cc:
#include <assert.h> // for assert
#include <stddef.h> // for size_t
#include <stdint.h> // for uint8_t
#include <algorithm> // for min
#include <string> // for string, basic_string
#include "leveldb/comparator.h" // for Comparator, BytewiseComparator
#include "leveldb/slice.h" // for Slice
#include "port/port_posix.h" // for InitOnce, LEVELDB_ONCE_INIT, OnceType
---
make[2]: *** [leveldb/util/leveldb_libleveldb_a-comparator.o] Error 8
CXX leveldb/util/leveldb_libleveldb_a-logging.o
(leveldb/util/crc32c.h has correct #includes/fwd-decls)
leveldb/util/crc32c.cc should add these lines:
#include "port/port_posix.h" // for AcceleratedCRC32C, HasAcceleratedCRC32C
leveldb/util/crc32c.cc should remove these lines:
- #include "port/port.h" // lines 12-12
The full include-list for leveldb/util/crc32c.cc:
#include "util/crc32c.h"
#include <stdint.h> // for uint32_t, uint8_t, uintptr_t
#include "port/port_posix.h" // for AcceleratedCRC32C, HasAcceleratedCRC32C
#include "util/coding.h" // for DecodeFixed32
---
make[2]: *** [leveldb/util/leveldb_libleveldb_a-crc32c.o] Error 4
CXX leveldb/util/leveldb_libleveldb_a-options.o
leveldb/util/logging.cc:58:40: warning: comparison of integers of different signs: 'const int' and 'unsigned long long' [-Wsign-compare]
(v == kMaxUint64/10 && delta > kMaxUint64%10)) {
~~~~~ ^ ~~~~~~~~~~~~~
leveldb/include/leveldb/env.h should add these lines:
#include <stddef.h> // for size_t
The full include-list for leveldb/include/leveldb/env.h:
#include <stdarg.h> // for va_list
#include <stddef.h> // for size_t
#include <stdint.h> // for uint64_t
#include <string> // for string
#include <vector> // for vector
#include "leveldb/status.h" // for Status
namespace leveldb { class FileLock; } // lines 24-24
namespace leveldb { class Logger; } // lines 25-25
namespace leveldb { class RandomAccessFile; } // lines 26-26
namespace leveldb { class SequentialFile; } // lines 27-27
namespace leveldb { class Slice; } // lines 28-28
namespace leveldb { class WritableFile; } // lines 29-29
---
leveldb/util/env.cc should add these lines:
#include "leveldb/slice.h" // for Slice
The full include-list for leveldb/util/env.cc:
#include "leveldb/env.h"
#include "leveldb/slice.h" // for Slice
---
make[2]: *** [leveldb/util/leveldb_libleveldb_a-env.o] Error 4
(leveldb/include/leveldb/filter_policy.h has correct #includes/fwd-decls)
(leveldb/util/filter_policy.cc has correct #includes/fwd-decls)
CXX leveldb/util/leveldb_libleveldb_a-status.o
make[2]: *** [leveldb/util/leveldb_libleveldb_a-filter_policy.o] Error 2
CXX leveldb/port/leveldb_libleveldb_a-port_posix.o
(leveldb/util/hash.h has correct #includes/fwd-decls)
leveldb/util/hash.cc should remove these lines:
- #include <string.h> // lines 5-5
The full include-list for leveldb/util/hash.cc:
#include "util/hash.h"
#include "util/coding.h" // for DecodeFixed32
---
make[2]: *** [leveldb/util/leveldb_libleveldb_a-hash.o] Error 3
CXX leveldb/port/leveldb_libleveldb_sse42_a-port_posix_sse.o
(leveldb/util/histogram.h has correct #includes/fwd-decls)
leveldb/util/histogram.cc should remove these lines:
- #include "port/port.h" // lines 7-7
The full include-list for leveldb/util/histogram.cc:
#include "util/histogram.h"
#include <math.h> // for sqrt
#include <stdio.h> // for snprintf
---
make[2]: *** [leveldb/util/leveldb_libleveldb_a-histogram.o] Error 3
CXX leveldb/helpers/memenv/leveldb_libmemenv_a-memenv.o
leveldb/util/logging.h should remove these lines:
- #include <stdio.h> // lines 11-11
- #include "port/port.h" // lines 14-14
- namespace leveldb { class WritableFile; } // lines 19-19
The full include-list for leveldb/util/logging.h:
#include <stdint.h> // for uint64_t
#include <string> // for string
namespace leveldb { class Slice; } // lines 18-18
---
leveldb/util/logging.cc should remove these lines:
- #include <errno.h> // lines 7-7
- #include <stdarg.h> // lines 8-8
- #include <stdlib.h> // lines 10-10
- #include "leveldb/env.h" // lines 11-11
The full include-list for leveldb/util/logging.cc:
#include "util/logging.h"
#include <stdio.h> // for snprintf, size_t
#include "leveldb/slice.h" // for Slice
---
make[2]: *** [leveldb/util/leveldb_libleveldb_a-logging.o] Error 9
CXX bitcoin_cli-bitcoin-cli.o
leveldb/util/env_posix.cc should add these lines:
#include <assert.h> // for assert
#include <sys/dirent.h> // for dirent
#include <sys/errno.h> // for errno, EINVAL
#include <sys/fcntl.h> // for open, flock, O_RDONLY, fcntl, F_SETLK, F_UNLCK, F_WRLCK, O_CREAT, O_RDWR, SEEK_CUR, SEEK_SET
#include <sys/unistd.h> // for uint64_t, F_OK
#include <algorithm> // for min
#include <string> // for string, basic_string, operator+
#include <utility> // for pair
#include <vector> // for vector
#include "leveldb/status.h" // for Status
#include "port/atomic_pointer.h" // for AtomicPointer
#include "port/port_posix.h" // for Mutex, fflush_unlocked, fdatasync, fread_unlocked, fwrite_unlocked
leveldb/util/env_posix.cc should remove these lines:
- #include <errno.h> // lines 7-7
- #include <fcntl.h> // lines 8-8
- #include <time.h> // lines 18-18
- #include "port/port.h" // lines 25-25
- #include "util/logging.h" // lines 26-26
The full include-list for leveldb/util/env_posix.cc:
#include <assert.h> // for assert
#include <dirent.h> // for closedir, opendir, readdir, DIR
#include <pthread.h> // for pthread_create, pthread_mutex_lock, pthread_mutex_unlock, pthread_cond_init, pthread_cond_signal, pthread_cond_wait, pthread_mutex_init, pthread_once, pthread_self, PTHREAD_ONCE_INIT
#include <stdio.h> // for NULL, fopen, fclose, FILE, size_t, feof, fileno, fprintf, fseek, fwrite, rename, snprintf, stderr
#include <stdlib.h> // for abort, getenv
#include <string.h> // for strerror, memcpy, memset, strrchr
#include <sys/dirent.h> // for dirent
#include <sys/errno.h> // for errno, EINVAL
#include <sys/fcntl.h> // for open, flock, O_RDONLY, fcntl, F_SETLK, F_UNLCK, F_WRLCK, O_CREAT, O_RDWR, SEEK_CUR, SEEK_SET
#include <sys/mman.h> // for mmap, munmap, MAP_FAILED, MAP_SHARED, PROT_READ
#include <sys/resource.h> // for getrlimit, rlimit, RLIMIT_NOFILE, RLIM_INFINITY
#include <sys/stat.h> // for stat, mkdir
#include <sys/time.h> // for gettimeofday, timeval
#include <sys/types.h> // for pthread_t, pthread_cond_t, pthread_mutex_t, pthread_once_t
#include <sys/unistd.h> // for uint64_t, F_OK
#include <unistd.h> // for close, intptr_t, access, fsync, geteuid, pread, rmdir, unlink, usleep, off_t, ssize_t
#include <algorithm> // for min
#include <deque> // for deque
#include <limits> // for numeric_limits
#include <set> // for set
#include <string> // for string, basic_string, operator+
#include <utility> // for pair
#include <vector> // for vector
#include "leveldb/env.h" // for Env, RandomAccessFile, FileLock, Logger (ptr only), SequentialFile, WritableFile
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
#include "port/atomic_pointer.h" // for AtomicPointer
#include "port/port_posix.h" // for Mutex, fflush_unlocked, fdatasync, fread_unlocked, fwrite_unlocked
#include "util/env_posix_test_helper.h" // for EnvPosixTestHelper
#include "util/mutexlock.h" // for MutexLock
#include "util/posix_logger.h" // for PosixLogger
---
make[2]: *** [leveldb/util/leveldb_libleveldb_a-env_posix.o] Error 19
CXX rpc/libbitcoin_cli_a-client.o
(leveldb/include/leveldb/options.h has correct #includes/fwd-decls)
(leveldb/util/options.cc has correct #includes/fwd-decls)
make[2]: *** [leveldb/util/leveldb_libleveldb_a-options.o] Error 2
CXX bitcoin_tx-bitcoin-tx.o
leveldb/port/port_posix.h should add these lines:
#include <i386/endian.h> // for __DARWIN_BYTE_ORDER, __DARWIN_LITTLE_ENDIAN
#include <stddef.h> // for size_t
#include <sys/types.h> // for pthread_cond_t, pthread_mutex_t, pthread_once_t
leveldb/port/port_posix.h should remove these lines:
- #include <machine/endian.h> // lines 12-12
- #include "port/atomic_pointer.h" // lines 47-47
- namespace leveldb { namespace port { class CondVar; } } // lines 84-84
The full include-list for leveldb/port/port_posix.h:
#include <i386/endian.h> // for __DARWIN_BYTE_ORDER, __DARWIN_LITTLE_ENDIAN
#include <pthread.h> // for PTHREAD_ONCE_INIT
#include <stddef.h> // for size_t
#include <stdint.h> // for uint32_t
#include <sys/types.h> // for pthread_cond_t, pthread_mutex_t, pthread_once_t
#include <string> // for string
---
leveldb/util/status.cc should add these lines:
#include <assert.h> // for assert
#include <stdint.h> // for uint32_t
#include <string.h> // for memcpy
#include <string> // for basic_string, string
#include "leveldb/slice.h" // for Slice
leveldb/util/status.cc should remove these lines:
- #include "port/port.h" // lines 6-6
The full include-list for leveldb/util/status.cc:
#include <assert.h> // for assert
#include <stdint.h> // for uint32_t
#include <stdio.h> // for snprintf, NULL
#include <string.h> // for memcpy
#include <string> // for basic_string, string
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status, Status::kOk, Status::Code, Status::kCorruption, Status::kIOError, Status::kInvalidArgument, Status::kNotFound, Status::kNotSupported
---
(leveldb/port/port_posix.cc has correct #includes/fwd-decls)
make[2]: *** [leveldb/util/leveldb_libleveldb_a-status.o] Error 8
make[2]: *** [leveldb/port/leveldb_libleveldb_a-port_posix.o] Error 8
CXX test/test_test_bitcoin-test_bitcoin_main.o
CXX test/test_test_bitcoin-test_bitcoin.o
leveldb/port/port_posix_sse.cc should add these lines:
#include <smmintrin.h> // for _mm_crc32_u8, _mm_crc32_u32, _mm_crc32_u64
#include "port/port_posix.h" // for AcceleratedCRC32C
leveldb/port/port_posix_sse.cc should remove these lines:
- #include <nmmintrin.h> // lines 21-21
- #include "port/port.h" // lines 14-14
The full include-list for leveldb/port/port_posix_sse.cc:
#include <smmintrin.h> // for _mm_crc32_u8, _mm_crc32_u32, _mm_crc32_u64
#include <stdint.h> // for uint8_t, uint32_t, uint64_t, uintptr_t
#include <string.h> // for memcpy, size_t
#include "port/port_posix.h" // for AcceleratedCRC32C
---
make[2]: *** [leveldb/port/leveldb_libleveldb_sse42_a-port_posix_sse.o] Error 6
CXX wallet/test/test_test_bitcoin-wallet_test_fixture.o
(leveldb/helpers/memenv/memenv.h has correct #includes/fwd-decls)
leveldb/helpers/memenv/memenv.cc should add these lines:
#include <assert.h> // for assert
#include <stdarg.h> // for va_list
#include <stdint.h> // for uint64_t, SIZE_MAX
#include <utility> // for pair
#include "leveldb/slice.h" // for Slice
#include "port/port_posix.h" // for Mutex
leveldb/helpers/memenv/memenv.cc should remove these lines:
- #include "port/port.h" // lines 9-9
The full include-list for leveldb/helpers/memenv/memenv.cc:
#include "helpers/memenv/memenv.h"
#include <assert.h> // for assert
#include <stdarg.h> // for va_list
#include <stdint.h> // for uint64_t, SIZE_MAX
#include <string.h> // for size_t, memcpy, NULL
#include <map> // for operator==, map<>::iterator, operator!=, __map_iterator, map, map<>::value_compare
#include <string> // for string, basic_string
#include <utility> // for pair
#include <vector> // for vector, vector<>::iterator
#include "leveldb/env.h" // for Env (ptr only), EnvWrapper, FileLock, Logger, RandomAccessFile, SequentialFile, WritableFile
#include "leveldb/slice.h" // for Slice
#include "leveldb/status.h" // for Status
#include "port/port_posix.h" // for Mutex
#include "util/mutexlock.h" // for MutexLock
---
make[2]: *** [leveldb/helpers/memenv/leveldb_libmemenv_a-memenv.o] Error 9
Generated test/data/base58_encode_decode.json.h
Generated test/data/key_io_valid.json.h
Generated test/data/key_io_invalid.json.h
Generated test/data/script_tests.json.h
Generated test/data/sighash.json.h
Generated test/data/tx_invalid.json.h
Generated test/data/tx_valid.json.h
CXX bench/bench_bench_bitcoin-bench_bitcoin.o
bitcoin-cli.cpp should add these lines:
#include <assert.h> // for assert
#include <stdlib.h> // for EXIT_FAILURE, abs, free, EXIT_SUCCESS
#include <boost/filesystem/operations.hpp> // for is_directory
#include <boost/filesystem/path.hpp> // for path
#include <boost/thread/exceptions.hpp> // for thread_interrupted
#include <exception> // for exception
#include <iostream> // for getline, basic_istream, cin, basic_ios
#include <stdexcept> // for runtime_error
#include <string> // for string, operator+, operator==, operator!=, basic_string
#include <vector> // for vector
#include "event2/event.h" // for LIBEVENT_VERSION_NUMBER, event_base_dispatch, event_set_log_callback, EVENT_LOG_ERR
#include "event2/http.h" // for evhttp_add_header, evhttp_connection_set_timeout, evhttp_make_request, evhttp_request_get_input_buffer, evhttp_request_get_output_buffer, evhttp_request_get_output_headers, evhttp_request_get_response_code, evhttp_request_set_error_cb, evhttp_ur...
#include "tinyformat.h" // for strprintf
#include "utiltime.h" // for MilliSleep
bitcoin-cli.cpp should remove these lines:
- #include <event2/keyvalq_struct.h> // lines 22-22
- #include <fs.h> // lines 12-12
The full include-list for bitcoin-cli.cpp:
#include <assert.h> // for assert
#include <chainparamsbase.h> // for CreateBaseChainParams, CBaseChainParams, BaseParams, SelectBaseParams, SetupChainParamsBaseOptions, CBaseChainParams::MAIN, CBaseChainParams::TESTNET
#include <clientversion.h> // for FormatFullVersion
#include <config/bitcoin-config.h> // for PACKAGE_NAME
#include <event2/buffer.h> // for evbuffer_add, evbuffer_drain, evbuffer_get_length, evbuffer_pullup
#include <rpc/client.h> // for RPCConvertNamedValues, RPCConvertValues
#include <rpc/protocol.h> // for JSONRPCRequestObj, GetAuthCookie, JSONRPCProcessBatchReply, JSONRPCReplyObj, HTTP_BAD_REQUEST, HTTP_INTERNAL_SERVER_ERROR, HTTP_NOT_FOUND, HTTP_UNAUTHORIZED, RPC_IN_WARMUP, RPC_WALLET_NOT_SPECIFIED
#include <stdio.h> // for fprintf, stderr, stdout, size_t
#include <stdlib.h> // for EXIT_FAILURE, abs, free, EXIT_SUCCESS
#include <support/events.h> // for raii_evhttp_request, obtain_event_base, obtain_evhttp_connection_base, obtain_evhttp_request, raii_event_base, raii_evhttp_connection
#include <univalue.h> // for UniValue, find_value, NullUniValue, UniValue::VARR, UniValue::VOBJ, UniValue::VSTR
#include <util.h> // for gArgs, ArgsManager, OptionsCategory, OptionsCategory::OPTIONS, PrintExceptionContinue, GetConfigFile, GetDataDir, HelpRequested, IsSwitchChar, SetupEnvironment, SetupNetworking, _, BITCOIN_CONF_FILENAME, OptionsCategory::HIDDEN
#include <utilstrencodings.h> // for EncodeBase64, SplitHostPort
#include <boost/filesystem/operations.hpp> // for is_directory
#include <boost/filesystem/path.hpp> // for path
#include <boost/thread/exceptions.hpp> // for thread_interrupted
#include <exception> // for exception
#include <iostream> // for getline, basic_istream, cin, basic_ios
#include <memory> // for allocator, unique_ptr, operator==
#include <stdexcept> // for runtime_error
#include <string> // for string, operator+, operator==, operator!=, basic_string
#include <vector> // for vector
#include "event2/event.h" // for LIBEVENT_VERSION_NUMBER, event_base_dispatch, event_set_log_callback, EVENT_LOG_ERR
#include "event2/http.h" // for evhttp_add_header, evhttp_connection_set_timeout, evhttp_make_request, evhttp_request_get_input_buffer, evhttp_request_get_output_buffer, evhttp_request_get_output_headers, evhttp_request_get_response_code, evhttp_request_set_error_cb, evhttp_ur...
#include "tinyformat.h" // for strprintf
#include "utiltime.h" // for MilliSleep
---
make[2]: *** [bitcoin_cli-bitcoin-cli.o] Error 18
CXX bench/bench_bench_bitcoin-bench.o
rpc/client.h should add these lines:
#include <string> // for string
#include <vector> // for vector
The full include-list for rpc/client.h:
#include <univalue.h> // for UniValue
#include <string> // for string
#include <vector> // for vector
---
rpc/client.cpp should add these lines:
#include <stddef.h> // for size_t
#include <stdexcept> // for runtime_error
#include <utility> // for pair, make_pair
#include "univalue.h" // for UniValue, UniValue::VARR, UniValue::VOBJ
rpc/client.cpp should remove these lines:
- #include <rpc/protocol.h> // lines 7-7
- #include <stdint.h> // lines 11-11
- #include <util.h> // lines 8-8
The full include-list for rpc/client.cpp:
#include <rpc/client.h>
#include <stddef.h> // for size_t
#include <set> // for allocator, set
#include <stdexcept> // for runtime_error
#include <utility> // for pair, make_pair
#include "univalue.h" // for UniValue, UniValue::VARR, UniValue::VOBJ
---
make[2]: *** [rpc/libbitcoin_cli_a-client.o] Error 11
CXX bench/bench_bench_bitcoin-block_assemble.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 76763 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT bitcoin_tx-bitcoin-tx.o -MD -MP -MF .deps/bitcoin_tx-bitcoin-tx.Tpo -c -o bitcoin_tx-bitcoin-tx.o `test -f 'bitcoin-tx.cpp' || echo './'`bitcoin-tx.cpp
make[2]: *** [bitcoin_tx-bitcoin-tx.o] Error 134
Generated bench/data/block413567.raw.h
CXX bench/bench_bench_bitcoin-checkqueue.o
bench/bench_bitcoin.cpp should add these lines:
#include <stdint.h> // for int64_t
#include <stdio.h> // for fprintf, stderr
#include <stdlib.h> // for EXIT_FAILURE, EXIT_SUCCESS
#include <iostream> // for operator<<, cout, ostream
#include <string> // for string, operator==
#include "tinyformat.h" // for strprintf
bench/bench_bitcoin.cpp should remove these lines:
- #include <validation.h> // lines 12-12
The full include-list for bench/bench_bitcoin.cpp:
#include <bench/bench.h> // for Printer, ConsolePrinter, PlotlyPrinter, BenchRunner
#include <crypto/sha256.h> // for SHA256AutoDetect
#include <key.h> // for ECC_Start, ECC_Stop
#include <random.h> // for RandomInit
#include <stdint.h> // for int64_t
#include <stdio.h> // for fprintf, stderr
#include <stdlib.h> // for EXIT_FAILURE, EXIT_SUCCESS
#include <util.h> // for gArgs, ArgsManager, OptionsCategory, OptionsCategory::OPTIONS, HelpRequested, SetupEnvironment, OptionsCategory::HIDDEN
#include <utilstrencodings.h> // for ParseDouble
#include <iostream> // for operator<<, cout, ostream
#include <memory> // for unique_ptr
#include <string> // for string, operator==
#include "tinyformat.h" // for strprintf
---
make[2]: *** [bench/bench_bench_bitcoin-bench_bitcoin.o] Error 9
CXX bench/bench_bench_bitcoin-examples.o
test/test_bitcoin_main.cpp should add these lines:
#include <cstdlib> // for exit, EXIT_SUCCESS
test/test_bitcoin_main.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 11-11
The full include-list for test/test_bitcoin_main.cpp:
#include <net.h> // for CConnman
#include <cstdlib> // for exit, EXIT_SUCCESS
#include <memory> // for unique_ptr
---
make[2]: *** [test/test_test_bitcoin-test_bitcoin_main.o] Error 4
CXX bench/bench_bench_bitcoin-rollingbloom.o
bench/bench.h should add these lines:
#include <stdint.h> // for uint64_t, int64_t
#include <type_traits> // for conditional, conditional<>::type
bench/bench.h should remove these lines:
- #include <limits> // lines 9-9
The full include-list for bench/bench.h:
#include <stdint.h> // for uint64_t, int64_t
#include <boost/preprocessor/cat.hpp> // for BOOST_PP_CAT
#include <boost/preprocessor/stringize.hpp> // for BOOST_PP_STRINGIZE
#include <chrono> // for high_resolution_clock, steady_clock
#include <functional> // for function
#include <map> // for map, map<>::value_compare
#include <string> // for string
#include <type_traits> // for conditional, conditional<>::type
#include <vector> // for vector
namespace benchmark { class Printer; } // lines 52-52
---
bench/bench.cpp should add these lines:
#include <stddef.h> // for size_t
#include <ratio> // for ratio, micro, ratio_less_equal
#include <utility> // for __make_pair_return<>::type, pair, make_pair
bench/bench.cpp should remove these lines:
- #include <assert.h> // lines 7-7
The full include-list for bench/bench.cpp:
#include <bench/bench.h>
#include <stddef.h> // for size_t
#include <algorithm> // for sort
#include <iomanip> // for operator<<, setprecision
#include <iostream> // for operator<<, basic_ostream, endl, ostream, cout, cerr
#include <numeric> // for accumulate
#include <ratio> // for ratio, micro, ratio_less_equal
#include <regex> // for regex_match, regex, smatch
#include <utility> // for __make_pair_return<>::type, pair, make_pair
---
make[2]: *** [bench/bench_bench_bitcoin-bench.o] Error 9
CXX bench/bench_bench_bitcoin-crypto_hash.o
bench/rollingbloom.cpp should add these lines:
#include <stdint.h> // for uint32_t, uint64_t
#include <functional> // for __base
#include <vector> // for vector
The full include-list for bench/rollingbloom.cpp:
#include <bench/bench.h> // for BENCHMARK, BenchFunction, State
#include <bloom.h> // for CRollingBloomFilter
#include <stdint.h> // for uint32_t, uint64_t
#include <functional> // for __base
#include <iostream> // for string
#include <vector> // for vector
---
make[2]: *** [bench/bench_bench_bitcoin-rollingbloom.o] Error 5
CXX bench/bench_bench_bitcoin-ccoins_caching.o
test/test_bitcoin.h should add these lines:
#include <stdint.h> // for uint64_t, int64_t, uint32_t
#include <boost/filesystem/path.hpp> // for path
#include <boost/thread/detail/thread_group.hpp> // for thread_group
#include <iosfwd> // for ostream, string
#include <vector> // for vector
#include "amount.h" // for CAmount
#include "primitives/transaction.h" // for CTransactionRef, CMutableTransaction (ptr only)
#include "uint256.h" // for uint256
test/test_bitcoin.h should remove these lines:
- #include <fs.h> // lines 9-9
- #include <txdb.h> // lines 14-14
- #include <boost/thread.hpp> // lines 19-19
- class CTxMemPoolEntry; // lines 94-94
- struct CMutableTransaction; // lines 73-73
The full include-list for test/test_bitcoin.h:
#include <chainparamsbase.h> // for CBaseChainParams, CBaseChainParams::MAIN
#include <key.h> // for CKey
#include <pubkey.h> // for ECCVerifyHandle
#include <random.h> // for FastRandomContext, GetRandHash
#include <scheduler.h> // for CScheduler
#include <stdint.h> // for uint64_t, int64_t, uint32_t
#include <txmempool.h> // for CTxMemPoolEntry, LockPoints
#include <boost/filesystem/path.hpp> // for path
#include <boost/thread/detail/thread_group.hpp> // for thread_group
#include <iosfwd> // for ostream, string
#include <memory> // for unique_ptr
#include <vector> // for vector
#include "amount.h" // for CAmount
#include "primitives/transaction.h" // for CTransactionRef, CMutableTransaction (ptr only)
#include "uint256.h" // for uint256
class CBlock; // lines 72-72
class CConnman; // lines 53-53
class CNode; // lines 54-54
class CScript; // lines 74-74
class PeerLogicValidation; // lines 60-60
---
test/test_bitcoin.cpp should add these lines:
#include <boost/bind/bind.hpp> // for bind_t, bind
#include <boost/filesystem/operations.hpp> // for create_directories, remove_all, temp_directory_path
#include <ostream> // for operator<<, ostream, string
#include <stdexcept> // for runtime_error
#include "chain.h" // for CChain
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::REGTEST
#include "coins.h" // for CCoinsViewCache
#include "consensus/params.h" // for BIP9Deployment, BIP9Deployment::NO_TIMEOUT, DEPLOYMENT_SEGWIT
#include "key.h" // for ECC_Start, ECC_Stop, CKey
#include "net.h" // for CConnman, g_connman, CNode
#include "primitives/block.h" // for CBlock
#include "pubkey.h" // for CPubKey
#include "random.h" // for GetRandHash, RandomInit, FastRandomContext
#include "scheduler.h" // for CScheduler
#include "script/script.h" // for CScript, ToByteVector, OP_CHECKSIG
#include "serialize.h" // for SER_NETWORK
#include "sync.h" // for LOCK
#include "tinyformat.h" // for strprintf
#include "txdb.h" // for CCoinsViewDB, CBlockTreeDB
#include "txmempool.h" // for CTxMemPoolEntry, CTxMemPool
#include "util.h" // for ClearDatadirCache, SetupEnvironment, SetupNetworking, ArgsManager, gArgs
#include "utilstrencodings.h" // for ParseHex
#include "utiltime.h" // for GetTime
#include "validationinterface.h" // for GetMainSignals, CMainSignals
#include "version.h" // for PROTOCOL_VERSION
test/test_bitcoin.cpp should remove these lines:
- #include <ui_interface.h> // lines 15-15
The full include-list for test/test_bitcoin.cpp:
#include <test/test_bitcoin.h>
#include <chainparams.h> // for Params, SelectParams, UpdateVersionBitsParameters, CChainParams
#include <consensus/consensus.h> // for COINBASE_MATURITY
#include <consensus/validation.h> // for CValidationState
#include <crypto/sha256.h> // for SHA256AutoDetect
#include <miner.h> // for CBlockTemplate, IncrementExtraNonce, BlockAssembler
#include <net_processing.h> // for PeerLogicValidation
#include <pow.h> // for CheckProofOfWork
#include <rpc/register.h> // for RegisterAllCoreRPCCommands
#include <rpc/server.h> // for tableRPC
#include <script/sigcache.h> // for InitSignatureCache
#include <streams.h> // for CDataStream
#include <validation.h> // for ActivateBestChain, FormatStateMessage, InitScriptExecutionCache, LoadGenesisBlock, ProcessNewBlock, UnloadBlockIndex, pcoinsdbview, ThreadScriptCheck, nScriptCheckThreads, pblocktree, pcoinsTip, chainActive, cs_main, fCheckBlockIndex, mempool
#include <boost/bind/bind.hpp> // for bind_t, bind
#include <boost/filesystem/operations.hpp> // for create_directories, remove_all, temp_directory_path
#include <ostream> // for operator<<, ostream, string
#include <stdexcept> // for runtime_error
#include "chain.h" // for CChain
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::REGTEST
#include "coins.h" // for CCoinsViewCache
#include "consensus/params.h" // for BIP9Deployment, BIP9Deployment::NO_TIMEOUT, DEPLOYMENT_SEGWIT
#include "key.h" // for ECC_Start, ECC_Stop, CKey
#include "net.h" // for CConnman, g_connman, CNode
#include "primitives/block.h" // for CBlock
#include "pubkey.h" // for CPubKey
#include "random.h" // for GetRandHash, RandomInit, FastRandomContext
#include "scheduler.h" // for CScheduler
#include "script/script.h" // for CScript, ToByteVector, OP_CHECKSIG
#include "serialize.h" // for SER_NETWORK
#include "sync.h" // for LOCK
#include "tinyformat.h" // for strprintf
#include "txdb.h" // for CCoinsViewDB, CBlockTreeDB
#include "txmempool.h" // for CTxMemPoolEntry, CTxMemPool
#include "util.h" // for ClearDatadirCache, SetupEnvironment, SetupNetworking, ArgsManager, gArgs
#include "utilstrencodings.h" // for ParseHex
#include "utiltime.h" // for GetTime
#include "validationinterface.h" // for GetMainSignals, CMainSignals
#include "version.h" // for PROTOCOL_VERSION
---
make[2]: *** [test/test_test_bitcoin-test_bitcoin.o] Error 41
CXX bench/bench_bench_bitcoin-merkle_root.o
wallet/test/wallet_test_fixture.h should add these lines:
#include <string> // for string
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::MAIN
wallet/test/wallet_test_fixture.h should remove these lines:
- #include <memory> // lines 12-12
The full include-list for wallet/test/wallet_test_fixture.h:
#include <test/test_bitcoin.h> // for TestingSetup
#include <wallet/wallet.h> // for CWallet
#include <string> // for string
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::MAIN
---
wallet/test/wallet_test_fixture.cpp should add these lines:
#include "test/test_bitcoin.h" // for TestingSetup
#include "validationinterface.h" // for RegisterValidationInterface, UnregisterValidationInterface
#include "wallet/rpcwallet.h" // for RegisterWalletRPCCommands
#include "wallet/wallet.h" // for CWallet
#include "wallet/walletdb.h" // for WalletDatabase
wallet/test/wallet_test_fixture.cpp should remove these lines:
- #include <wallet/db.h> // lines 8-8
The full include-list for wallet/test/wallet_test_fixture.cpp:
#include <wallet/test/wallet_test_fixture.h>
#include <rpc/server.h> // for tableRPC
#include "test/test_bitcoin.h" // for TestingSetup
#include "validationinterface.h" // for RegisterValidationInterface, UnregisterValidationInterface
#include "wallet/rpcwallet.h" // for RegisterWalletRPCCommands
#include "wallet/wallet.h" // for CWallet
#include "wallet/walletdb.h" // for WalletDatabase
---
make[2]: *** [wallet/test/test_test_bitcoin-wallet_test_fixture.o] Error 11
CXX bench/bench_bench_bitcoin-mempool_eviction.o
bench/examples.cpp should add these lines:
#include <functional> // for __base
#include <string> // for string
bench/examples.cpp should remove these lines:
- #include <validation.h> // lines 6-6
The full include-list for bench/examples.cpp:
#include <bench/bench.h> // for BENCHMARK, BenchFunction, State
#include <math.h> // for sin
#include <utiltime.h> // for MilliSleep
#include <functional> // for __base
#include <string> // for string
---
make[2]: *** [bench/bench_bench_bitcoin-examples.o] Error 5
CXX bench/bench_bench_bitcoin-verify_script.o
bench/crypto_hash.cpp should add these lines:
#include <cstdint> // for uint8_t, uint64_t, uint32_t
#include <functional> // for __base
#include <vector> // for vector
bench/crypto_hash.cpp should remove these lines:
- #include <bloom.h> // lines 8-8
- #include <utiltime.h> // lines 12-12
The full include-list for bench/crypto_hash.cpp:
#include <bench/bench.h> // for BENCHMARK, BenchFunction, State
#include <crypto/ripemd160.h> // for CRIPEMD160, CRIPEMD160::OUTPUT_SIZE
#include <crypto/sha1.h> // for CSHA1, CSHA1::OUTPUT_SIZE
#include <crypto/sha256.h> // for CSHA256, SHA256D64, CSHA256::OUTPUT_SIZE
#include <crypto/sha512.h> // for CSHA512, CSHA512::OUTPUT_SIZE
#include <hash.h> // for SipHashUint256
#include <random.h> // for FastRandomContext
#include <uint256.h> // for uint256
#include <cstdint> // for uint8_t, uint64_t, uint32_t
#include <functional> // for __base
#include <iostream> // for string
#include <vector> // for vector
---
make[2]: *** [bench/bench_bench_bitcoin-crypto_hash.o] Error 7
CXX bench/bench_bench_bitcoin-base58.o
bench/merkle_root.cpp should add these lines:
#include <functional> // for __base
#include <string> // for string
#include <vector> // for vector, __vector_base<>::value_type
The full include-list for bench/merkle_root.cpp:
#include <bench/bench.h> // for BENCHMARK, BenchFunction, State
#include <consensus/merkle.h> // for ComputeMerkleRoot
#include <random.h> // for FastRandomContext
#include <uint256.h> // for uint256
#include <functional> // for __base
#include <string> // for string
#include <vector> // for vector, __vector_base<>::value_type
---
make[2]: *** [bench/bench_bench_bitcoin-merkle_root.o] Error 5
CXX bench/bench_bench_bitcoin-lockedpool.o
Cycle in include-mapping:
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 76860 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -D_THREAD_SAFE -I/usr/local/Cellar/libevent/2.1.8/include -I./bench/ -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT bench/bench_bench_bitcoin-verify_script.o -MD -MP -MF bench/.deps/bench_bench_bitcoin-verify_script.Tpo -c -o bench/bench_bench_bitcoin-verify_script.o `test -f 'bench/verify_script.cpp' || echo './'`bench/verify_script.cpp
make[2]: *** [bench/bench_bench_bitcoin-verify_script.o] Error 134
CXX bench/bench_bench_bitcoin-prevector.o
bench/lockedpool.cpp should add these lines:
#include <cstdlib> // for size_t, uint32_t
#include <functional> // for __base
The full include-list for bench/lockedpool.cpp:
#include <bench/bench.h> // for BENCHMARK, BenchFunction, State
#include <support/lockedpool.h> // for Arena
#include <cstdlib> // for size_t, uint32_t
#include <functional> // for __base
#include <iostream> // for string
#include <vector> // for vector
---
make[2]: *** [bench/bench_bench_bitcoin-lockedpool.o] Error 4
CXX bench/bench_bench_bitcoin-coin_selection.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 76851 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -D_THREAD_SAFE -I/usr/local/Cellar/libevent/2.1.8/include -I./bench/ -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT bench/bench_bench_bitcoin-ccoins_caching.o -MD -MP -MF bench/.deps/bench_bench_bitcoin-ccoins_caching.Tpo -c -o bench/bench_bench_bitcoin-ccoins_caching.o `test -f 'bench/ccoins_caching.cpp' || echo './'`bench/ccoins_caching.cpp
make[2]: *** [bench/bench_bench_bitcoin-ccoins_caching.o] Error 134
GEN qt/paymentrequest.pb.h
GEN qt/forms/ui_addressbookpage.h
bench/base58.cpp should add these lines:
#include <functional> // for __base
bench/base58.cpp should remove these lines:
- #include <validation.h> // lines 7-7
The full include-list for bench/base58.cpp:
#include <base58.h> // for DecodeBase58, EncodeBase58, EncodeBase58Check
#include <bench/bench.h> // for BENCHMARK, BenchFunction, State
#include <array> // for array<>::const_iterator, array, array<>::value_type
#include <functional> // for __base
#include <string> // for string
#include <vector> // for vector
---
make[2]: *** [bench/bench_bench_bitcoin-base58.o] Error 4
GEN qt/forms/ui_askpassphrasedialog.h
GEN qt/forms/ui_coincontroldialog.h
GEN qt/forms/ui_editaddressdialog.h
GEN qt/forms/ui_helpmessagedialog.h
GEN qt/forms/ui_intro.h
GEN qt/forms/ui_modaloverlay.h
GEN qt/forms/ui_openuridialog.h
GEN qt/forms/ui_optionsdialog.h
GEN qt/forms/ui_overviewpage.h
GEN qt/forms/ui_receivecoinsdialog.h
GEN qt/forms/ui_receiverequestdialog.h
GEN qt/forms/ui_debugwindow.h
GEN qt/forms/ui_sendcoinsdialog.h
GEN qt/forms/ui_sendcoinsentry.h
bench/checkqueue.cpp should add these lines:
#include <stddef.h> // for size_t
#include <stdint.h> // for uint8_t
#include <algorithm> // for max
#include <boost/thread/detail/thread_group.hpp> // for thread_group
#include <functional> // for __base
#include <string> // for string
bench/checkqueue.cpp should remove these lines:
- #include <validation.h> // lines 7-7
- #include <boost/thread/thread.hpp> // lines 11-11
The full include-list for bench/checkqueue.cpp:
#include <bench/bench.h> // for BENCHMARK, BenchFunction, State
#include <checkqueue.h> // for CCheckQueueControl, CCheckQueue
#include <prevector.h> // for prevector
#include <random.h> // for FastRandomContext
#include <stddef.h> // for size_t
#include <stdint.h> // for uint8_t
#include <util.h> // for GetNumCores
#include <algorithm> // for max
#include <boost/thread/detail/thread_group.hpp> // for thread_group
#include <functional> // for __base
#include <string> // for string
#include <vector> // for vector
---
GEN qt/forms/ui_signverifymessagedialog.h
make[2]: *** [bench/bench_bench_bitcoin-checkqueue.o] Error 10
GEN qt/moc_addressbookpage.cpp
GEN qt/moc_addresstablemodel.cpp
GEN qt/forms/ui_transactiondescdialog.h
GEN qt/moc_askpassphrasedialog.cpp
GEN qt/moc_bantablemodel.cpp
GEN qt/moc_bitcoinaddressvalidator.cpp
GEN qt/moc_bitcoinamountfield.cpp
GEN qt/moc_bitcoingui.cpp
GEN qt/moc_bitcoinunits.cpp
GEN qt/moc_callback.cpp
GEN qt/moc_clientmodel.cpp
GEN qt/moc_coincontroldialog.cpp
GEN qt/moc_coincontroltreewidget.cpp
GEN qt/moc_csvmodelwriter.cpp
bench/prevector.cpp should add these lines:
#include <functional> // for __base
#include <string> // for basic_string, string
The full include-list for bench/prevector.cpp:
#include <bench/bench.h> // for BENCHMARK, BenchFunction, State
#include <compat.h> // for IS_TRIVIALLY_CONSTRUCTIBLE
#include <prevector.h> // for prevector
#include <functional> // for __base
#include <string> // for basic_string, string
---
make[2]: *** [bench/bench_bench_bitcoin-prevector.o] Error 4
GEN qt/moc_editaddressdialog.cpp
GEN qt/moc_guiutil.cpp
GEN qt/moc_intro.cpp
GEN qt/moc_macdockiconhandler.cpp
GEN qt/moc_macnotificationhandler.cpp
GEN qt/moc_modaloverlay.cpp
GEN qt/moc_notificator.cpp
GEN qt/moc_openuridialog.cpp
GEN qt/moc_optionsdialog.cpp
GEN qt/moc_optionsmodel.cpp
GEN qt/moc_overviewpage.cpp
GEN qt/moc_peertablemodel.cpp
GEN qt/moc_paymentserver.cpp
GEN qt/moc_qvalidatedlineedit.cpp
GEN qt/moc_qvaluecombobox.cpp
GEN qt/moc_receivecoinsdialog.cpp
GEN qt/moc_receiverequestdialog.cpp
GEN qt/moc_recentrequeststablemodel.cpp
GEN qt/moc_rpcconsole.cpp
GEN qt/moc_sendcoinsdialog.cpp
GEN qt/moc_sendcoinsentry.cpp
GEN qt/moc_signverifymessagedialog.cpp
GEN qt/moc_splashscreen.cpp
GEN qt/moc_trafficgraphwidget.cpp
GEN qt/moc_transactiondesc.cpp
GEN qt/moc_transactiondescdialog.cpp
GEN qt/moc_transactionfilterproxy.cpp
GEN qt/moc_transactiontablemodel.cpp
GEN qt/moc_transactionview.cpp
GEN qt/moc_utilitydialog.cpp
GEN qt/moc_walletframe.cpp
GEN qt/moc_walletmodel.cpp
GEN qt/moc_walletview.cpp
GEN qt/qrc_bitcoin.cpp
GEN qt/locale/bitcoin_af.qm
GEN qt/locale/bitcoin_af_ZA.qm
GEN qt/locale/bitcoin_ar.qm
GEN qt/locale/bitcoin_be_BY.qm
GEN qt/locale/bitcoin_bg_BG.qm
GEN qt/locale/bitcoin_bg.qm
GEN qt/locale/bitcoin_ca_ES.qm
GEN qt/locale/bitcoin_ca.qm
GEN qt/locale/bitcoin_ca@valencia.qm
GEN qt/locale/bitcoin_cs.qm
GEN qt/locale/bitcoin_cy.qm
GEN qt/locale/bitcoin_da.qm
GEN qt/locale/bitcoin_de.qm
GEN qt/locale/bitcoin_el_GR.qm
GEN qt/locale/bitcoin_el.qm
GEN qt/locale/bitcoin_en_GB.qm
GEN qt/locale/bitcoin_en.qm
GEN qt/locale/bitcoin_eo.qm
GEN qt/locale/bitcoin_es_AR.qm
GEN qt/locale/bitcoin_es_CL.qm
GEN qt/locale/bitcoin_es_CO.qm
GEN qt/locale/bitcoin_es_DO.qm
GEN qt/locale/bitcoin_es_ES.qm
GEN qt/locale/bitcoin_es_MX.qm
GEN qt/locale/bitcoin_es.qm
GEN qt/locale/bitcoin_es_UY.qm
GEN qt/locale/bitcoin_es_VE.qm
GEN qt/locale/bitcoin_et_EE.qm
GEN qt/locale/bitcoin_et.qm
GEN qt/locale/bitcoin_eu_ES.qm
GEN qt/locale/bitcoin_fa_IR.qm
GEN qt/locale/bitcoin_fa.qm
GEN qt/locale/bitcoin_fi.qm
GEN qt/locale/bitcoin_fr_CA.qm
GEN qt/locale/bitcoin_fr_FR.qm
GEN qt/locale/bitcoin_fr.qm
GEN qt/locale/bitcoin_gl.qm
GEN qt/locale/bitcoin_he.qm
GEN qt/locale/bitcoin_hi_IN.qm
GEN qt/locale/bitcoin_hr.qm
GEN qt/locale/bitcoin_hu.qm
GEN qt/locale/bitcoin_id_ID.qm
GEN qt/locale/bitcoin_it_IT.qm
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
GEN qt/locale/bitcoin_it.qm
GEN qt/locale/bitcoin_ja.qm
GEN qt/locale/bitcoin_ka.qm
GEN qt/locale/bitcoin_kk_KZ.qm
GEN qt/locale/bitcoin_ko_KR.qm
GEN qt/locale/bitcoin_ku_IQ.qm
GEN qt/locale/bitcoin_ky.qm
GEN qt/locale/bitcoin_la.qm
GEN qt/locale/bitcoin_lt.qm
GEN qt/locale/bitcoin_lv_LV.qm
GEN qt/locale/bitcoin_mk_MK.qm
GEN qt/locale/bitcoin_mn.qm
GEN qt/locale/bitcoin_ms_MY.qm
GEN qt/locale/bitcoin_nb.qm
GEN qt/locale/bitcoin_ne.qm
GEN qt/locale/bitcoin_nl.qm
GEN qt/locale/bitcoin_pam.qm
GEN qt/locale/bitcoin_pl.qm
GEN qt/locale/bitcoin_pt_BR.qm
GEN qt/locale/bitcoin_pt_PT.qm
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
GEN qt/locale/bitcoin_ro_RO.qm
GEN qt/locale/bitcoin_ro.qm
GEN qt/locale/bitcoin_ru_RU.qm
GEN qt/locale/bitcoin_ru.qm
GEN qt/locale/bitcoin_sk.qm
GEN qt/locale/bitcoin_sl_SI.qm
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
GEN qt/locale/bitcoin_sq.qm
GEN qt/locale/bitcoin_sr@latin.qm
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 76857 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -D_THREAD_SAFE -I/usr/local/Cellar/libevent/2.1.8/include -I./bench/ -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT bench/bench_bench_bitcoin-mempool_eviction.o -MD -MP -MF bench/.deps/bench_bench_bitcoin-mempool_eviction.Tpo -c -o bench/bench_bench_bitcoin-mempool_eviction.o `test -f 'bench/mempool_eviction.cpp' || echo './'`bench/mempool_eviction.cpp
make[2]: *** [bench/bench_bench_bitcoin-mempool_eviction.o] Error 134
GEN qt/locale/bitcoin_sr.qm
GEN qt/locale/bitcoin_sv.qm
GEN qt/locale/bitcoin_ta.qm
GEN qt/locale/bitcoin_th_TH.qm
GEN qt/locale/bitcoin_tr_TR.qm
GEN qt/locale/bitcoin_tr.qm
GEN qt/locale/bitcoin_uk.qm
GEN qt/locale/bitcoin_ur_PK.qm
GEN qt/locale/bitcoin_uz@Cyrl.qm
GEN qt/locale/bitcoin_vi.qm
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
GEN qt/locale/bitcoin_zh_CN.qm
GEN qt/locale/bitcoin_vi_VN.qm
GEN qt/locale/bitcoin_zh_HK.qm
GEN qt/locale/bitcoin_zh.qm
GEN qt/locale/bitcoin_zh_TW.qm
CXX qt/test/qt_test_test_bitcoin_qt-compattests.o
CXX qt/test/qt_test_test_bitcoin_qt-rpcnestedtests.o
CXX qt/test/qt_test_test_bitcoin_qt-test_main.o
CXX qt/test/qt_test_test_bitcoin_qt-uritests.o
CXX qt/test/qt_test_test_bitcoin_qt-util.o
bench/block_assemble.cpp should add these lines:
#include <assert.h> // for assert
#include <stddef.h> // for size_t
#include <array> // for array, array<>::value_type
#include <boost/bind/bind.hpp> // for bind_t, bind
#include <boost/thread/detail/thread_group.hpp> // for thread_group
#include <functional> // for __base
#include <memory> // for shared_ptr, shared_ptr<>::element_type, unique_ptr, make_shared
#include <string> // for string
#include "chain.h" // for CChain, CBlockIndex
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::REGTEST
#include "consensus/consensus.h" // for COINBASE_MATURITY
#include "crypto/sha256.h" // for CSHA256
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CTxIn, CTxOut, CMutableTransaction, MakeTransactionRef, CTransactionRef, CTransaction
#include "script/script.h" // for CScript, CScriptWitness, OP_TRUE, OP_0
#include "uint256.h" // for uint256
bench/block_assemble.cpp should remove these lines:
- #include <policy/policy.h> // lines 11-11
- #include <txmempool.h> // lines 15-15
- #include <utiltime.h> // lines 16-16
- #include <boost/thread.hpp> // lines 20-20
- #include <list> // lines 22-22
The full include-list for bench/block_assemble.cpp:
#include <assert.h> // for assert
#include <bench/bench.h> // for BENCHMARK, BenchFunction, State
#include <chainparams.h> // for Params, CChainParams, SelectParams
#include <coins.h> // for CCoinsViewCache
#include <consensus/merkle.h> // for BlockMerkleRoot
#include <consensus/validation.h> // for CValidationState
#include <miner.h> // for BlockAssembler, CBlockTemplate
#include <pow.h> // for CheckProofOfWork
#include <scheduler.h> // for CScheduler
#include <stddef.h> // for size_t
#include <txdb.h> // for CCoinsViewDB, CBlockTreeDB
#include <validation.h> // for AcceptToMemoryPool, IsWitnessEnabled, ProcessNewBlock, chainActive, ActivateBestChain, InitScriptExecutionCache, LoadGenesisBlock, mempool, pcoinsdbview, pblocktree, pcoinsTip
#include <validationinterface.h> // for GetMainSignals, CMainSignals
#include <array> // for array, array<>::value_type
#include <boost/bind/bind.hpp> // for bind_t, bind
#include <boost/thread/detail/thread_group.hpp> // for thread_group
#include <functional> // for __base
#include <memory> // for shared_ptr, shared_ptr<>::element_type, unique_ptr, make_shared
#include <string> // for string
#include <vector> // for vector
#include "chain.h" // for CChain, CBlockIndex
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::REGTEST
#include "consensus/consensus.h" // for COINBASE_MATURITY
#include "crypto/sha256.h" // for CSHA256
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CTxIn, CTxOut, CMutableTransaction, MakeTransactionRef, CTransactionRef, CTransaction
#include "script/script.h" // for CScript, CScriptWitness, OP_TRUE, OP_0
#include "uint256.h" // for uint256
---
make[2]: *** [bench/bench_bench_bitcoin-block_assemble.o] Error 23
CXX test/qt_test_test_bitcoin_qt-test_bitcoin.o
qt/test/util.cpp should add these lines:
#include <type_traits> // for move
#include "qapplication.h" // for QApplication
#include "qlist.h" // for QList
#include "qmessagebox.h" // for QMessageBox
#include "qobject.h" // for qobject_cast
#include "qobjectdefs.h" // for SLOT
#include "qpushbutton.h" // for QPushButton
#include "qstring.h" // for QString
#include "qtimer.h" // for QTimer
#include "qwidget.h" // for QWidget
#include "qwindowdefs.h" // for QWidgetList
qt/test/util.cpp should remove these lines:
- #include <QApplication> // lines 3-3
- #include <QMessageBox> // lines 4-4
- #include <QPushButton> // lines 7-7
- #include <QString> // lines 6-6
- #include <QTimer> // lines 5-5
- #include <QWidget> // lines 8-8
The full include-list for qt/test/util.cpp:
#include <qt/callback.h> // for makeCallback, Callback, FunctionCallback
#include <type_traits> // for move
#include "qapplication.h" // for QApplication
#include "qlist.h" // for QList
#include "qmessagebox.h" // for QMessageBox
#include "qobject.h" // for qobject_cast
#include "qobjectdefs.h" // for SLOT
#include "qpushbutton.h" // for QPushButton
#include "qstring.h" // for QString
#include "qtimer.h" // for QTimer
#include "qwidget.h" // for QWidget
#include "qwindowdefs.h" // for QWidgetList
---
make[2]: *** [qt/test/qt_test_test_bitcoin_qt-util.o] Error 19
CXX qt/test/qt_test_test_bitcoin_qt-addressbooktests.o
qt/test/compattests.h should add these lines:
#include "qobject.h" // for QObject
#include "qobjectdefs.h" // for Q_OBJECT, Q_SLOTS
#include "qstring.h" // for QString
qt/test/compattests.h should remove these lines:
- #include <QObject> // lines 8-8
- #include <QTest> // lines 9-9
The full include-list for qt/test/compattests.h:
#include "qobject.h" // for QObject
#include "qobjectdefs.h" // for Q_OBJECT, Q_SLOTS
#include "qstring.h" // for QString
---
qt/test/compattests.cpp should add these lines:
#include <stdint.h> // for uint16_t, uint32_t, uint64_t
#include "google/protobuf/stubs/port.h" // for bswap_16, bswap_32, bswap_64
#include "qtestcase.h" // for QVERIFY
qt/test/compattests.cpp should remove these lines:
- #include <compat/byteswap.h> // lines 9-9
- #include <qt/paymentrequestplus.h> // lines 5-5
The full include-list for qt/test/compattests.cpp:
#include <qt/test/compattests.h>
#include <stdint.h> // for uint16_t, uint32_t, uint64_t
#include "google/protobuf/stubs/port.h" // for bswap_16, bswap_32, bswap_64
#include "qtestcase.h" // for QVERIFY
---
make[2]: *** [qt/test/qt_test_test_bitcoin_qt-compattests.o] Error 12
CXX qt/test/qt_test_test_bitcoin_qt-paymentservertests.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 77486 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -DQT_NO_KEYWORDS -I/usr/local/Cellar/qt/5.10.0_1/include/QtNetwork -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtWidgets -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtGui -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtCore -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtTest -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtCore -I/usr/local/Cellar/qt/5.10.0_1/include -D_THREAD_SAFE -I/usr/local/Cellar/protobuf/3.5.1/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT qt/test/qt_test_test_bitcoin_qt-uritests.o -MD -MP -MF qt/test/.deps/qt_test_test_bitcoin_qt-uritests.Tpo -c -o qt/test/qt_test_test_bitcoin_qt-uritests.o `test -f 'qt/test/uritests.cpp' || echo './'`qt/test/uritests.cpp
make[2]: *** [qt/test/qt_test_test_bitcoin_qt-uritests.o] Error 134
CXX qt/test/qt_test_test_bitcoin_qt-wallettests.o
bench/coin_selection.cpp should add these lines:
#include <assert.h> // for assert
#include <functional> // for __base
#include <string> // for string
#include <type_traits> // for remove_reference<>::type, move
#include <vector> // for vector
#include "amount.h" // for CAmount, COIN
#include "policy/feerate.h" // for CFeeRate
#include "primitives/transaction.h" // for CTxOut, CMutableTransaction, MakeTransactionRef
#include "sync.h" // for LOCK
#include "wallet/walletdb.h" // for WalletDatabase
The full include-list for bench/coin_selection.cpp:
#include <assert.h> // for assert
#include <bench/bench.h> // for BENCHMARK, BenchFunction, State
#include <wallet/coinselection.h> // for CInputCoin, SelectCoinsBnB
#include <wallet/wallet.h> // for COutput, CWallet, CWalletTx, CoinEligibilityFilter, CoinSelectionParams
#include <functional> // for __base
#include <set> // for set
#include <string> // for string
#include <type_traits> // for remove_reference<>::type, move
#include <vector> // for vector
#include "amount.h" // for CAmount, COIN
#include "policy/feerate.h" // for CFeeRate
#include "primitives/transaction.h" // for CTxOut, CMutableTransaction, MakeTransactionRef
#include "sync.h" // for LOCK
#include "wallet/walletdb.h" // for WalletDatabase
---
make[2]: *** [bench/bench_bench_bitcoin-coin_selection.o] Error 12
CXX wallet/test/qt_test_test_bitcoin_qt-wallet_test_fixture.o
test/test_bitcoin.h should add these lines:
#include <stdint.h> // for uint64_t, int64_t, uint32_t
#include <boost/filesystem/path.hpp> // for path
#include <boost/thread/detail/thread_group.hpp> // for thread_group
#include <iosfwd> // for ostream, string
#include <vector> // for vector
#include "amount.h" // for CAmount
#include "primitives/transaction.h" // for CTransactionRef, CMutableTransaction (ptr only)
#include "uint256.h" // for uint256
test/test_bitcoin.h should remove these lines:
- #include <fs.h> // lines 9-9
- #include <txdb.h> // lines 14-14
- #include <boost/thread.hpp> // lines 19-19
- class CTxMemPoolEntry; // lines 94-94
- struct CMutableTransaction; // lines 73-73
The full include-list for test/test_bitcoin.h:
#include <chainparamsbase.h> // for CBaseChainParams, CBaseChainParams::MAIN
#include <key.h> // for CKey
#include <pubkey.h> // for ECCVerifyHandle
#include <random.h> // for FastRandomContext, GetRandHash
#include <scheduler.h> // for CScheduler
#include <stdint.h> // for uint64_t, int64_t, uint32_t
#include <txmempool.h> // for CTxMemPoolEntry, LockPoints
#include <boost/filesystem/path.hpp> // for path
#include <boost/thread/detail/thread_group.hpp> // for thread_group
#include <iosfwd> // for ostream, string
#include <memory> // for unique_ptr
#include <vector> // for vector
#include "amount.h" // for CAmount
#include "primitives/transaction.h" // for CTransactionRef, CMutableTransaction (ptr only)
#include "uint256.h" // for uint256
class CBlock; // lines 72-72
class CConnman; // lines 53-53
class CNode; // lines 54-54
class CScript; // lines 74-74
class PeerLogicValidation; // lines 60-60
---
qt/test/test_main.cpp should add these lines:
#include <openssl/ssl3.h> // for SSL_library_init
#include <stdlib.h> // for setenv
#include <boost/filesystem/operations.hpp> // for create_directories, remove_all, temp_directory_path
#include <boost/filesystem/path.hpp> // for operator/, path
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::MAIN
#include "qapplication.h" // for QApplication
#include "qtestcase.h" // for qExec
#include "random.h" // for GetRand
#include "tinyformat.h" // for strprintf
#include "utiltime.h" // for GetTime
qt/test/test_main.cpp should remove these lines:
- #include <openssl/ssl.h> // lines 25-25
- #include <QApplication> // lines 21-21
- #include <QObject> // lines 22-22
- #include <QTest> // lines 23-23
The full include-list for qt/test/test_main.cpp:
#include <chainparams.h> // for SelectParams
#include <config/bitcoin-config.h> // for ENABLE_WALLET
#include <openssl/ssl3.h> // for SSL_library_init
#include <qt/test/addressbooktests.h> // for AddressBookTests
#include <qt/test/compattests.h> // for CompatTests
#include <qt/test/paymentservertests.h> // for PaymentServerTests
#include <qt/test/rpcnestedtests.h> // for RPCNestedTests
#include <qt/test/uritests.h> // for URITests
#include <qt/test/wallettests.h> // for WalletTests
#include <stdlib.h> // for setenv
#include <util.h> // for ClearDatadirCache, SetupEnvironment, SetupNetworking, ArgsManager, gArgs
#include <boost/filesystem/operations.hpp> // for create_directories, remove_all, temp_directory_path
#include <boost/filesystem/path.hpp> // for operator/, path
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::MAIN
#include "qapplication.h" // for QApplication
#include "qtestcase.h" // for qExec
#include "random.h" // for GetRand
#include "tinyformat.h" // for strprintf
#include "utiltime.h" // for GetTime
---
test/test_bitcoin.cpp should add these lines:
#include <boost/bind/bind.hpp> // for bind_t, bind
#include <boost/filesystem/operations.hpp> // for create_directories, remove_all, temp_directory_path
#include <ostream> // for operator<<, ostream, string
#include <stdexcept> // for runtime_error
#include "chain.h" // for CChain
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::REGTEST
#include "coins.h" // for CCoinsViewCache
#include "consensus/params.h" // for BIP9Deployment, BIP9Deployment::NO_TIMEOUT, DEPLOYMENT_SEGWIT
#include "key.h" // for ECC_Start, ECC_Stop, CKey
#include "net.h" // for CConnman, g_connman, CNode
#include "primitives/block.h" // for CBlock
#include "pubkey.h" // for CPubKey
#include "random.h" // for GetRandHash, RandomInit, FastRandomContext
#include "scheduler.h" // for CScheduler
#include "script/script.h" // for CScript, ToByteVector, OP_CHECKSIG
#include "serialize.h" // for SER_NETWORK
#include "sync.h" // for LOCK
#include "tinyformat.h" // for strprintf
#include "txdb.h" // for CCoinsViewDB, CBlockTreeDB
#include "txmempool.h" // for CTxMemPoolEntry, CTxMemPool
#include "util.h" // for ClearDatadirCache, SetupEnvironment, SetupNetworking, ArgsManager, gArgs
#include "utilstrencodings.h" // for ParseHex
#include "utiltime.h" // for GetTime
#include "validationinterface.h" // for GetMainSignals, CMainSignals
#include "version.h" // for PROTOCOL_VERSION
test/test_bitcoin.cpp should remove these lines:
- #include <ui_interface.h> // lines 15-15
The full include-list for test/test_bitcoin.cpp:
#include <test/test_bitcoin.h>
#include <chainparams.h> // for Params, SelectParams, UpdateVersionBitsParameters, CChainParams
#include <consensus/consensus.h> // for COINBASE_MATURITY
#include <consensus/validation.h> // for CValidationState
#include <crypto/sha256.h> // for SHA256AutoDetect
#include <miner.h> // for CBlockTemplate, IncrementExtraNonce, BlockAssembler
#include <net_processing.h> // for PeerLogicValidation
#include <pow.h> // for CheckProofOfWork
#include <rpc/register.h> // for RegisterAllCoreRPCCommands
#include <rpc/server.h> // for tableRPC
#include <script/sigcache.h> // for InitSignatureCache
#include <streams.h> // for CDataStream
#include <validation.h> // for ActivateBestChain, FormatStateMessage, InitScriptExecutionCache, LoadGenesisBlock, ProcessNewBlock, UnloadBlockIndex, pcoinsdbview, ThreadScriptCheck, nScriptCheckThreads, pblocktree, pcoinsTip, chainActive, cs_main, fCheckBlockIndex, mempool
#include <boost/bind/bind.hpp> // for bind_t, bind
#include <boost/filesystem/operations.hpp> // for create_directories, remove_all, temp_directory_path
#include <ostream> // for operator<<, ostream, string
#include <stdexcept> // for runtime_error
#include "chain.h" // for CChain
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::REGTEST
#include "coins.h" // for CCoinsViewCache
#include "consensus/params.h" // for BIP9Deployment, BIP9Deployment::NO_TIMEOUT, DEPLOYMENT_SEGWIT
#include "key.h" // for ECC_Start, ECC_Stop, CKey
#include "net.h" // for CConnman, g_connman, CNode
#include "primitives/block.h" // for CBlock
#include "pubkey.h" // for CPubKey
#include "random.h" // for GetRandHash, RandomInit, FastRandomContext
#include "scheduler.h" // for CScheduler
#include "script/script.h" // for CScript, ToByteVector, OP_CHECKSIG
#include "serialize.h" // for SER_NETWORK
#include "sync.h" // for LOCK
#include "tinyformat.h" // for strprintf
#include "txdb.h" // for CCoinsViewDB, CBlockTreeDB
#include "txmempool.h" // for CTxMemPoolEntry, CTxMemPool
#include "util.h" // for ClearDatadirCache, SetupEnvironment, SetupNetworking, ArgsManager, gArgs
#include "utilstrencodings.h" // for ParseHex
#include "utiltime.h" // for GetTime
#include "validationinterface.h" // for GetMainSignals, CMainSignals
#include "version.h" // for PROTOCOL_VERSION
---
make[2]: *** [qt/test/qt_test_test_bitcoin_qt-test_main.o] Error 16
GEN qt/test/moc_compattests.cpp
make[2]: *** [test/qt_test_test_bitcoin_qt-test_bitcoin.o] Error 41
GEN qt/test/moc_rpcnestedtests.cpp
GEN qt/test/moc_uritests.cpp
GEN qt/test/moc_addressbooktests.cpp
GEN qt/test/moc_paymentservertests.cpp
GEN qt/test/moc_wallettests.cpp
CXX test/test_test_bitcoin_fuzzy-test_bitcoin_fuzzy.o
CXX libbitcoin_util_a-clientversion.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 77501 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -DQT_NO_KEYWORDS -I/usr/local/Cellar/qt/5.10.0_1/include/QtNetwork -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtWidgets -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtGui -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtCore -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtTest -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtCore -I/usr/local/Cellar/qt/5.10.0_1/include -D_THREAD_SAFE -I/usr/local/Cellar/protobuf/3.5.1/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT qt/test/qt_test_test_bitcoin_qt-paymentservertests.o -MD -MP -MF qt/test/.deps/qt_test_test_bitcoin_qt-paymentservertests.Tpo -c -o qt/test/qt_test_test_bitcoin_qt-paymentservertests.o `test -f 'qt/test/paymentservertests.cpp' || echo './'`qt/test/paymentservertests.cpp
make[2]: *** [qt/test/qt_test_test_bitcoin_qt-paymentservertests.o] Error 134
CXX test/test_test_bitcoin-arith_uint256_tests.o
qt/test/rpcnestedtests.h should add these lines:
#include "qobject.h" // for QObject
#include "qobjectdefs.h" // for Q_OBJECT, Q_SLOTS
#include "qstring.h" // for QString
qt/test/rpcnestedtests.h should remove these lines:
- #include <txdb.h> // lines 11-11
- #include <txmempool.h> // lines 12-12
- #include <QObject> // lines 8-8
- #include <QTest> // lines 9-9
The full include-list for qt/test/rpcnestedtests.h:
#include "qobject.h" // for QObject
#include "qobjectdefs.h" // for Q_OBJECT, Q_SLOTS
#include "qstring.h" // for QString
---
qt/test/rpcnestedtests.cpp should add these lines:
#include <memory> // for unique_ptr
#include <stdexcept> // for runtime_error
#include <string> // for operator==, string, basic_string
#include "qglobal.h" // for QT_VERSION
#include "qtestcase.h" // for QVERIFY, QVERIFY_EXCEPTION_THROWN
qt/test/rpcnestedtests.cpp should remove these lines:
- #include <chainparams.h> // lines 7-7
- #include <consensus/validation.h> // lines 8-8
- #include <fs.h> // lines 9-9
- #include <rpc/register.h> // lines 12-12
- #include <util.h> // lines 17-17
- #include <validation.h> // lines 11-11
- #include <QDir> // lines 19-19
- #include <QtGlobal> // lines 20-20
The full include-list for qt/test/rpcnestedtests.cpp:
#include <qt/test/rpcnestedtests.h>
#include <interfaces/node.h> // for MakeNode
#include <qt/rpcconsole.h> // for RPCConsole
#include <rpc/server.h> // for SetRPCWarmupFinished, CRPCCommand, JSONRPCRequest, CRPCTable, tableRPC
#include <test/test_bitcoin.h> // for TestingSetup
#include <univalue.h> // for UniValue
#include <memory> // for unique_ptr
#include <stdexcept> // for runtime_error
#include <string> // for operator==, string, basic_string
#include "qglobal.h" // for QT_VERSION
#include "qtestcase.h" // for QVERIFY, QVERIFY_EXCEPTION_THROWN
---
make[2]: *** [qt/test/qt_test_test_bitcoin_qt-rpcnestedtests.o] Error 22
CXX test/test_test_bitcoin-addrman_tests.o
(clientversion.h has correct #includes/fwd-decls)
clientversion.cpp should add these lines:
#include <ostream> // for operator<<, basic_ostream, ostringstream
#include "config/bitcoin-config.h" // for CLIENT_VERSION_BUILD, CLIENT_VERSION_MAJOR, CLIENT_VERSION_MINOR, CLIENT_VERSION_REVISION
The full include-list for clientversion.cpp:
#include <clientversion.h>
#include <obj/build.h> // for BUILD_SUFFIX
#include <tinyformat.h> // for strprintf
#include <ostream> // for operator<<, basic_ostream, ostringstream
#include "config/bitcoin-config.h" // for CLIENT_VERSION_BUILD, CLIENT_VERSION_MAJOR, CLIENT_VERSION_MINOR, CLIENT_VERSION_REVISION
---
make[2]: *** [libbitcoin_util_a-clientversion.o] Error 4
CXX test/test_test_bitcoin-amount_tests.o
qt/test/addressbooktests.h should add these lines:
#include "qobject.h" // for QObject
#include "qobjectdefs.h" // for Q_OBJECT, Q_SLOTS
#include "qstring.h" // for QString
qt/test/addressbooktests.h should remove these lines:
- #include <QObject> // lines 4-4
- #include <QTest> // lines 5-5
The full include-list for qt/test/addressbooktests.h:
#include "qobject.h" // for QObject
#include "qobjectdefs.h" // for Q_OBJECT, Q_SLOTS
#include "qstring.h" // for QString
---
qt/test/addressbooktests.cpp should add these lines:
#include <map> // for map
#include <memory> // for shared_ptr, unique_ptr, make_shared
#include <tuple> // for tie, tuple, ignore
#include <type_traits> // for move
#include <utility> // for pair, make_pair
#include <vector> // for vector
#include "interfaces/wallet.h" // for Wallet
#include "qlineedit.h" // for QLineEdit
#include "qtestcase.h" // for QCOMPARE
#include "script/standard.h" // for CTxDestination
#include "sync.h" // for LOCK
#include "wallet/walletdb.h" // for WalletDatabase
qt/test/addressbooktests.cpp should remove these lines:
- #include <pubkey.h> // lines 16-16
- #include <qt/addressbookpage.h> // lines 6-6
- #include <qt/addresstablemodel.h> // lines 7-7
- #include <qt/callback.h> // lines 9-9
- #include <QMessageBox> // lines 21-21
- #include <QTimer> // lines 20-20
The full include-list for qt/test/addressbooktests.cpp:
#include <qt/test/addressbooktests.h>
#include <interfaces/node.h> // for MakeNode, Node
#include <key.h> // for CKey
#include <key_io.h> // for EncodeDestination
#include <qt/editaddressdialog.h> // for EditAddressDialog, EditAddressDialog::NewSendingAddress
#include <qt/optionsmodel.h> // for OptionsModel
#include <qt/platformstyle.h> // for PlatformStyle
#include <qt/qvalidatedlineedit.h> // for QValidatedLineEdit
#include <qt/test/util.h> // for ConfirmMessage
#include <qt/walletmodel.h> // for WalletModel
#include <test/test_bitcoin.h> // for TestChain100Setup
#include <wallet/wallet.h> // for CWallet, AddWallet, GetDestinationForKey, RemoveWallet
#include <map> // for map
#include <memory> // for shared_ptr, unique_ptr, make_shared
#include <tuple> // for tie, tuple, ignore
#include <type_traits> // for move
#include <utility> // for pair, make_pair
#include <vector> // for vector
#include "interfaces/wallet.h" // for Wallet
#include "qlineedit.h" // for QLineEdit
#include "qtestcase.h" // for QCOMPARE
#include "script/standard.h" // for CTxDestination
#include "sync.h" // for LOCK
#include "wallet/walletdb.h" // for WalletDatabase
---
make[2]: *** [qt/test/qt_test_test_bitcoin_qt-addressbooktests.o] Error 25
CXX test/test_test_bitcoin-allocator_tests.o
wallet/test/wallet_test_fixture.h should add these lines:
#include <string> // for string
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::MAIN
wallet/test/wallet_test_fixture.h should remove these lines:
- #include <memory> // lines 12-12
The full include-list for wallet/test/wallet_test_fixture.h:
#include <test/test_bitcoin.h> // for TestingSetup
#include <wallet/wallet.h> // for CWallet
#include <string> // for string
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::MAIN
---
wallet/test/wallet_test_fixture.cpp should add these lines:
#include "test/test_bitcoin.h" // for TestingSetup
#include "validationinterface.h" // for RegisterValidationInterface, UnregisterValidationInterface
#include "wallet/rpcwallet.h" // for RegisterWalletRPCCommands
#include "wallet/wallet.h" // for CWallet
#include "wallet/walletdb.h" // for WalletDatabase
wallet/test/wallet_test_fixture.cpp should remove these lines:
- #include <wallet/db.h> // lines 8-8
The full include-list for wallet/test/wallet_test_fixture.cpp:
#include <wallet/test/wallet_test_fixture.h>
#include <rpc/server.h> // for tableRPC
#include "test/test_bitcoin.h" // for TestingSetup
#include "validationinterface.h" // for RegisterValidationInterface, UnregisterValidationInterface
#include "wallet/rpcwallet.h" // for RegisterWalletRPCCommands
#include "wallet/wallet.h" // for CWallet
#include "wallet/walletdb.h" // for WalletDatabase
---
make[2]: *** [wallet/test/qt_test_test_bitcoin_qt-wallet_test_fixture.o] Error 11
CXX test/test_test_bitcoin-base32_tests.o
test/test_bitcoin_fuzzy.cpp should add these lines:
#include <cstdint> // for uint8_t, uint32_t
#include <ios> // for ios_base, ios_base::failure
#include "addrdb.h" // for CBanEntry
#include "bloom.h" // for CBloomFilter
#include "netaddress.h" // for CNetAddr, CService
#include "primitives/transaction.h" // for CTransaction, CTxOut
#include "serialize.h" // for SER_NETWORK, deserialize
#include "tinyformat.h" // for format_error
test/test_bitcoin_fuzzy.cpp should remove these lines:
- #include <config/bitcoin-config.h> // lines 6-6
- #include <net.h> // lines 16-16
- #include <script/script.h> // lines 11-11
- #include <stdint.h> // lines 25-25
- #include <algorithm> // lines 28-28
The full include-list for test/test_bitcoin_fuzzy.cpp:
#include <addrman.h> // for CAddrMan
#include <blockencodings.h> // for BlockTransactions, BlockTransactionsRequest
#include <chain.h> // for CDiskBlockIndex
#include <coins.h> // for Coin
#include <compressor.h> // for CTxOutCompressor
#include <consensus/merkle.h> // for BlockMerkleRoot
#include <primitives/block.h> // for CBlock, CBlockHeader, CBlockLocator
#include <protocol.h> // for CMessageHeader, CAddress, CInv, CMessageHeader::MessageStartChars
#include <pubkey.h> // for ECCVerifyHandle
#include <streams.h> // for CDataStream
#include <undo.h> // for CBlockUndo, CTxUndo
#include <unistd.h> // for read, STDIN_FILENO, ssize_t
#include <version.h> // for INIT_PROTO_VERSION
#include <cstdint> // for uint8_t, uint32_t
#include <cstring> // for memcpy, size_t
#include <ios> // for ios_base, ios_base::failure
#include <memory> // for unique_ptr
#include <vector> // for vector
#include "addrdb.h" // for CBanEntry
#include "bloom.h" // for CBloomFilter
#include "netaddress.h" // for CNetAddr, CService
#include "primitives/transaction.h" // for CTransaction, CTxOut
#include "serialize.h" // for SER_NETWORK, deserialize
#include "tinyformat.h" // for format_error
---
make[2]: *** [test/test_test_bitcoin_fuzzy-test_bitcoin_fuzzy.o] Error 15
CXX test/test_test_bitcoin-base58_tests.o
qt/test/wallettests.h should add these lines:
#include "qobject.h" // for QObject
#include "qobjectdefs.h" // for Q_OBJECT, Q_SLOTS
#include "qstring.h" // for QString
qt/test/wallettests.h should remove these lines:
- #include <QObject> // lines 4-4
- #include <QTest> // lines 5-5
The full include-list for qt/test/wallettests.h:
#include "qobject.h" // for QObject
#include "qobjectdefs.h" // for Q_OBJECT, Q_SLOTS
#include "qstring.h" // for QString
---
qt/test/wallettests.cpp should add these lines:
#include <boost/signals2/connection.hpp> // for scoped_connection
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/type_index/type_index_facade.hpp> // for operator==
#include <list> // for operator!=
#include <string> // for string
#include <type_traits> // for move
#include <vector> // for vector
#include "amount.h" // for CAmount, COIN
#include "chain.h" // for CChain
#include "interfaces/wallet.h" // for Wallet
#include "key.h" // for CKey
#include "policy/feerate.h" // for CURRENCY_UNIT
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CMutableTransaction
#include "pubkey.h" // for CKeyID
#include "qabstractbutton.h" // for QAbstractButton
#include "qabstractitemmodel.h" // for QModelIndex, QAbstractItemModel
#include "qaction.h" // for QAction
#include "qapplication.h" // for QApplication
#include "qboxlayout.h" // for QVBoxLayout
#include "qcheckbox.h" // for QCheckBox
#include "qframe.h" // for QFrame
#include "qitemselectionmodel.h" // for QItemSelectionModel, operator|, QItemSelectionModel::ClearAndSelect, QItemSelectionModel::Rows
#include "qlabel.h" // for QLabel
#include "qlayoutitem.h" // for QLayoutItem
#include "qlineedit.h" // for QLineEdit
#include "qlist.h" // for QList
#include "qmessagebox.h" // for QMessageBox, QMessageBox::Cancel, QMessageBox::Yes
#include "qnamespace.h" // for Checked, Unchecked
#include "qpushbutton.h" // for QPushButton
#include "qstringlist.h" // for QStringList
#include "qt/bitcoinunits.h" // for BitcoinUnits, BitcoinUnits::separatorAlways
#include "qtableview.h" // for QTableView
#include "qtestcase.h" // for QCOMPARE, QVERIFY, QVERIFY2
#include "qtextedit.h" // for QTextEdit
#include "qtimer.h" // for QTimer
#include "qvariant.h" // for QVariant
#include "qwidget.h" // for QWidget
#include "qwindowdefs.h" // for QWidgetList
#include "script/script.h" // for CScript
#include "script/standard.h" // for GetScriptForRawPubKey, CTxDestination
#include "sync.h" // for LOCK
#include "ui_interface.h" // for CT_NEW, ChangeType
#include "uint256.h" // for uint256
#include "wallet/walletdb.h" // for WalletDatabase
qt/test/wallettests.cpp should remove these lines:
- #include <QAbstractButton> // lines 26-26
- #include <QAction> // lines 27-27
- #include <QApplication> // lines 28-28
- #include <QCheckBox> // lines 29-29
- #include <QDialogButtonBox> // lines 35-35
- #include <QListView> // lines 34-34
- #include <QPushButton> // lines 30-30
- #include <QTextEdit> // lines 33-33
- #include <QTimer> // lines 31-31
- #include <QVBoxLayout> // lines 32-32
The full include-list for qt/test/wallettests.cpp:
#include <qt/test/wallettests.h>
#include <interfaces/node.h> // for MakeNode, Node
#include <key_io.h> // for EncodeDestination
#include <qt/bitcoinamountfield.h> // for BitcoinAmountField
#include <qt/callback.h> // for makeCallback, Callback, FunctionCallback
#include <qt/optionsmodel.h> // for OptionsModel
#include <qt/overviewpage.h> // for OverviewPage
#include <qt/platformstyle.h> // for PlatformStyle
#include <qt/qvalidatedlineedit.h> // for QValidatedLineEdit
#include <qt/receivecoinsdialog.h> // for ReceiveCoinsDialog
#include <qt/receiverequestdialog.h> // for ReceiveRequestDialog
#include <qt/recentrequeststablemodel.h> // for RecentRequestsTableModel
#include <qt/sendcoinsdialog.h> // for SendCoinsDialog, SendConfirmationDialog
#include <qt/sendcoinsentry.h> // for SendCoinsEntry
#include <qt/test/util.h> // for ConfirmMessage
#include <qt/transactiontablemodel.h> // for TransactionTableModel, TransactionTableModel::TxHashRole
#include <qt/transactionview.h> // for TransactionView
#include <qt/walletmodel.h> // for WalletModel
#include <test/test_bitcoin.h> // for TestChain100Setup
#include <validation.h> // for chainActive, cs_main
#include <wallet/wallet.h> // for CWallet, AddWallet, GetDestinationForKey, RemoveWallet, WalletRescanReserver
#include <boost/signals2/connection.hpp> // for scoped_connection
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/type_index/type_index_facade.hpp> // for operator==
#include <list> // for operator!=
#include <memory> // for shared_ptr, unique_ptr, make_shared
#include <string> // for string
#include <type_traits> // for move
#include <vector> // for vector
#include "amount.h" // for CAmount, COIN
#include "chain.h" // for CChain
#include "interfaces/wallet.h" // for Wallet
#include "key.h" // for CKey
#include "policy/feerate.h" // for CURRENCY_UNIT
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CMutableTransaction
#include "pubkey.h" // for CKeyID
#include "qabstractbutton.h" // for QAbstractButton
#include "qabstractitemmodel.h" // for QModelIndex, QAbstractItemModel
#include "qaction.h" // for QAction
#include "qapplication.h" // for QApplication
#include "qboxlayout.h" // for QVBoxLayout
#include "qcheckbox.h" // for QCheckBox
#include "qframe.h" // for QFrame
#include "qitemselectionmodel.h" // for QItemSelectionModel, operator|, QItemSelectionModel::ClearAndSelect, QItemSelectionModel::Rows
#include "qlabel.h" // for QLabel
#include "qlayoutitem.h" // for QLayoutItem
#include "qlineedit.h" // for QLineEdit
#include "qlist.h" // for QList
#include "qmessagebox.h" // for QMessageBox, QMessageBox::Cancel, QMessageBox::Yes
#include "qnamespace.h" // for Checked, Unchecked
#include "qpushbutton.h" // for QPushButton
#include "qstringlist.h" // for QStringList
#include "qt/bitcoinunits.h" // for BitcoinUnits, BitcoinUnits::separatorAlways
#include "qtableview.h" // for QTableView
#include "qtestcase.h" // for QCOMPARE, QVERIFY, QVERIFY2
#include "qtextedit.h" // for QTextEdit
#include "qtimer.h" // for QTimer
#include "qvariant.h" // for QVariant
#include "qwidget.h" // for QWidget
#include "qwindowdefs.h" // for QWidgetList
#include "script/script.h" // for CScript
#include "script/standard.h" // for GetScriptForRawPubKey, CTxDestination
#include "sync.h" // for LOCK
#include "ui_interface.h" // for CT_NEW, ChangeType
#include "uint256.h" // for uint256
#include "wallet/walletdb.h" // for WalletDatabase
---
make[2]: *** [qt/test/qt_test_test_bitcoin_qt-wallettests.o] Error 64
CXX test/test_test_bitcoin-base64_tests.o
test/base32_tests.cpp should add these lines:
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <string> // for string
test/base32_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 8-8
The full include-list for test/base32_tests.cpp:
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <utilstrencodings.h> // for DecodeBase32, EncodeBase32
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <string> // for string
---
make[2]: *** [test/test_test_bitcoin-base32_tests.o] Error 21
CXX test/test_test_bitcoin-bech32_tests.o
test/base58_tests.cpp should add these lines:
#include <algorithm> // for equal
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3, BOOST_PP_DEC_4, BOOST_PP_DEC_5
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_1, BOOST_PP_BOOL_0, BOOST_PP_BOOL_2, BOOST_PP_BOOL_3, BOOST_PP_BOOL_4
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/enum.hpp> // for BOOST_PP_SEQ_ENUM_4
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_4, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_5
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK, BOOST_CHECK_MESSAGE, BOOST_ERROR, BOOST_CHECK_EQUAL_COLLECTIONS, BOOST_TEST_TOOL_PASS_ARGS1, BOOST_TEST_TOOL_PASS_PRED1
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <boost/test/utils/lazy_ostream.hpp> // for operator<<, lazy_ostream
#include <ostream> // for operator<<
#include <string> // for string, operator==
#include <vector> // for vector, vector<>::value_type
test/base58_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 13-13
The full include-list for test/base58_tests.cpp:
#include <base58.h> // for DecodeBase58, EncodeBase58
#include <test/data/base58_encode_decode.json.h> // for base58_encode_decode
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <univalue.h> // for UniValue
#include <utilstrencodings.h> // for ParseHex
#include <algorithm> // for equal
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3, BOOST_PP_DEC_4, BOOST_PP_DEC_5
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_1, BOOST_PP_BOOL_0, BOOST_PP_BOOL_2, BOOST_PP_BOOL_3, BOOST_PP_BOOL_4
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/enum.hpp> // for BOOST_PP_SEQ_ENUM_4
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_4, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_5
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK, BOOST_CHECK_MESSAGE, BOOST_ERROR, BOOST_CHECK_EQUAL_COLLECTIONS, BOOST_TEST_TOOL_PASS_ARGS1, BOOST_TEST_TOOL_PASS_PRED1
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <boost/test/utils/lazy_ostream.hpp> // for operator<<, lazy_ostream
#include <ostream> // for operator<<
#include <string> // for string, operator==
#include <vector> // for vector, vector<>::value_type
---
make[2]: *** [test/test_test_bitcoin-base58_tests.o] Error 26
CXX test/test_test_bitcoin-bip32_tests.o
test/allocator_tests.cpp should add these lines:
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2, BOOST_PP_BOOL_0, BOOST_PP_BOOL_1
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <cstdlib> // for size_t, uint32_t
#include <limits> // for numeric_limits
#include <stdexcept> // for runtime_error
#include <type_traits> // for move
#include <vector> // for vector
#include "support/lockedpool.h" // for Arena, LockedPool, Arena::Stats, LockedPool::Stats, LockedPoolManager, LockedPool::ARENA_SIZE, LockedPageAllocator
test/allocator_tests.cpp should remove these lines:
- #include <support/allocators/secure.h> // lines 7-7
- #include <util.h> // lines 5-5
- #include <boost/test/unit_test.hpp> // lines 12-12
The full include-list for test/allocator_tests.cpp:
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2, BOOST_PP_BOOL_0, BOOST_PP_BOOL_1
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <cstdlib> // for size_t, uint32_t
#include <limits> // for numeric_limits
#include <memory> // for unique_ptr
#include <stdexcept> // for runtime_error
#include <type_traits> // for move
#include <vector> // for vector
#include "support/lockedpool.h" // for Arena, LockedPool, Arena::Stats, LockedPool::Stats, LockedPoolManager, LockedPool::ARENA_SIZE, LockedPageAllocator
---
make[2]: *** [test/test_test_bitcoin-allocator_tests.o] Error 28
CXX test/test_test_bitcoin-blockchain_tests.o
test/base64_tests.cpp should add these lines:
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <string> // for string
test/base64_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 8-8
The full include-list for test/base64_tests.cpp:
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <utilstrencodings.h> // for DecodeBase64, EncodeBase64
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <string> // for string
---
make[2]: *** [test/test_test_bitcoin-base64_tests.o] Error 21
CXX test/test_test_bitcoin-blockencodings_tests.o
test/amount_tests.cpp should add these lines:
#include <stddef.h> // for size_t
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0, BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <limits> // for numeric_limits
test/amount_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 9-9
The full include-list for test/amount_tests.cpp:
#include <amount.h> // for CAmount, MoneyRange, MAX_MONEY
#include <policy/feerate.h> // for CFeeRate, operator==, operator<=, operator>=, operator<, operator>
#include <stddef.h> // for size_t
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0, BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <limits> // for numeric_limits
---
make[2]: *** [test/test_test_bitcoin-amount_tests.o] Error 22
CXX test/test_test_bitcoin-bloom_tests.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 77567 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -DBOOST_TEST_DYN_LINK -I/usr/local/Cellar/libevent/2.1.8/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT test/test_test_bitcoin-bip32_tests.o -MD -MP -MF test/.deps/test_test_bitcoin-bip32_tests.Tpo -c -o test/test_test_bitcoin-bip32_tests.o `test -f 'test/bip32_tests.cpp' || echo './'`test/bip32_tests.cpp
make[2]: *** [test/test_test_bitcoin-bip32_tests.o] Error 134
CXX test/test_test_bitcoin-bswap_tests.o
test/bech32_tests.cpp should add these lines:
#include <stddef.h> // for size_t
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <string> // for string, basic_string
#include <utility> // for pair
test/bech32_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 8-8
The full include-list for test/bech32_tests.cpp:
#include <bech32.h> // for Decode, Encode
#include <stddef.h> // for size_t
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <string> // for string, basic_string
#include <utility> // for pair
---
make[2]: *** [test/test_test_bitcoin-bech32_tests.o] Error 14
CXX test/test_test_bitcoin-checkqueue_tests.o
test/blockchain_tests.cpp should add these lines:
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_MESSAGE, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <cmath> // for abs
#include <string> // for allocator, operator+, to_string
#include "chain.h" // for CBlockIndex
test/blockchain_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 1-1
The full include-list for test/blockchain_tests.cpp:
#include <rpc/blockchain.h> // for GetDifficulty
#include <stdlib.h> // for uint32_t
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_MESSAGE, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <cmath> // for abs
#include <string> // for allocator, operator+, to_string
#include "chain.h" // for CBlockIndex
---
make[2]: *** [test/test_test_bitcoin-blockchain_tests.o] Error 14
CXX test/test_test_bitcoin-coins_tests.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 77577 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -DBOOST_TEST_DYN_LINK -I/usr/local/Cellar/libevent/2.1.8/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT test/test_test_bitcoin-bloom_tests.o -MD -MP -MF test/.deps/test_test_bitcoin-bloom_tests.Tpo -c -o test/test_test_bitcoin-bloom_tests.o `test -f 'test/bloom_tests.cpp' || echo './'`test/bloom_tests.cpp
make[2]: *** [test/test_test_bitcoin-bloom_tests.o] Error 134
CXX test/test_test_bitcoin-compress_tests.o
test/arith_uint256_tests.cpp should add these lines:
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0, BOOST_CHECK_THROW
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <vector> // for vector
test/arith_uint256_tests.cpp should remove these lines:
- #include <version.h> // lines 14-14
- #include <boost/test/unit_test.hpp> // lines 5-5
The full include-list for test/arith_uint256_tests.cpp:
#include <arith_uint256.h> // for arith_uint256, base_uint, operator==, operator>>, operator<<, operator^, operator*, operator+, operator&, operator|, operator/, operator!=, operator-, operator<, operator<=, operator>, operator>=, UintToArith256
#include <stdint.h> // for uint64_t
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <uint256.h> // for uint256
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0, BOOST_CHECK_THROW
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <cmath> // for fabs, ldexp
#include <iomanip> // for operator<<, setfill, setw
#include <limits> // for numeric_limits
#include <sstream> // for basic_ostream, stringstream, hex
#include <string> // for operator==, operator+, string, allocator, operator!=
#include <vector> // for vector
---
make[2]: *** [test/test_test_bitcoin-arith_uint256_tests.o] Error 22
CXX test/test_test_bitcoin-crypto_tests.o
test/bswap_tests.cpp should add these lines:
#include <stdint.h> // for uint16_t, uint32_t, uint64_t
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
test/bswap_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 8-8
The full include-list for test/bswap_tests.cpp:
#include <compat/byteswap.h> // for bswap_16, bswap_32, bswap_64
#include <stdint.h> // for uint16_t, uint32_t, uint64_t
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
---
make[2]: *** [test/test_test_bitcoin-bswap_tests.o] Error 12
CXX test/test_test_bitcoin-cuckoocache_tests.o
Cycle in include-mapping:
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 77586 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -DBOOST_TEST_DYN_LINK -I/usr/local/Cellar/libevent/2.1.8/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT test/test_test_bitcoin-coins_tests.o -MD -MP -MF test/.deps/test_test_bitcoin-coins_tests.Tpo -c -o test/test_test_bitcoin-coins_tests.o `test -f 'test/coins_tests.cpp' || echo './'`test/coins_tests.cpp
make[2]: *** [test/test_test_bitcoin-coins_tests.o] Error 134
CXX test/test_test_bitcoin-denialofservice_tests.o
test/addrman_tests.cpp should add these lines:
#include <stddef.h> // for size_t
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK, BOOST_REQUIRE, BOOST_CHECK_MESSAGE
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <cstdint> // for uint16_t, int64_t, uint64_t
#include <set> // for set
#include <vector> // for vector, operator!=
#include "netaddress.h" // for CService, CNetAddr
#include "protocol.h" // for CAddress, NODE_NONE
#include "serialize.h" // for SER_GETHASH
#include "timedata.h" // for GetAdjustedTime
#include "tinyformat.h" // for strprintf
#include "uint256.h" // for uint256
test/addrman_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 7-7
The full include-list for test/addrman_tests.cpp:
#include <addrman.h> // for CAddrInfo, CAddrMan
#include <hash.h> // for CHashWriter
#include <netbase.h> // for Lookup, LookupHost
#include <random.h> // for FastRandomContext
#include <stddef.h> // for size_t
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK, BOOST_REQUIRE, BOOST_CHECK_MESSAGE
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <cstdint> // for uint16_t, int64_t, uint64_t
#include <set> // for set
#include <string> // for operator+, to_string, operator==, string, allocator, operator!=
#include <vector> // for vector, operator!=
#include "netaddress.h" // for CService, CNetAddr
#include "protocol.h" // for CAddress, NODE_NONE
#include "serialize.h" // for SER_GETHASH
#include "timedata.h" // for GetAdjustedTime
#include "tinyformat.h" // for strprintf
#include "uint256.h" // for uint256
---
make[2]: *** [test/test_test_bitcoin-addrman_tests.o] Error 30
CXX test/test_test_bitcoin-getarg_tests.o
test/compress_tests.cpp should add these lines:
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include "amount.h" // for COIN, CENT
test/compress_tests.cpp should remove these lines:
- #include <util.h> // lines 6-6
- #include <boost/test/unit_test.hpp> // lines 11-11
The full include-list for test/compress_tests.cpp:
#include <compressor.h> // for CompressAmount, DecompressAmount
#include <stdint.h> // for uint64_t
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include "amount.h" // for COIN, CENT
---
make[2]: *** [test/test_test_bitcoin-compress_tests.o] Error 13
CXX test/test_test_bitcoin-hash_tests.o
test/checkqueue_tests.cpp should add these lines:
#include <algorithm> // for min, max
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_REQUIRE, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_REQUIRE_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_log.hpp> // for BOOST_TEST_MESSAGE
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <boost/test/utils/lazy_ostream.hpp> // for lazy_ostream_impl, operator<<, lazy_ostream
#include <boost/thread/detail/thread_group.hpp> // for thread_group
#include <boost/thread/pthread/mutex.hpp> // for mutex
#include <cstddef> // for size_t
#include <cstdint> // for uint64_t
#include <initializer_list> // for initializer_list
#include <ostream> // for operator<<
#include <type_traits> // for swap
test/checkqueue_tests.cpp should remove these lines:
- #include <random.h> // lines 21-21
- #include <util.h> // lines 5-5
- #include <boost/test/unit_test.hpp> // lines 11-11
- #include <boost/thread.hpp> // lines 12-12
- #include <condition_variable> // lines 17-17
- #include <mutex> // lines 16-16
The full include-list for test/checkqueue_tests.cpp:
#include <checkqueue.h> // for CCheckQueueControl, CCheckQueue
#include <test/test_bitcoin.h> // for InsecureRandRange, TestingSetup
#include <utiltime.h> // for MilliSleep
#include <validation.h> // for nScriptCheckThreads
#include <algorithm> // for min, max
#include <atomic> // for atomic, memory_order_relaxed, __atomic_base
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_REQUIRE, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_REQUIRE_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_log.hpp> // for BOOST_TEST_MESSAGE
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <boost/test/utils/lazy_ostream.hpp> // for lazy_ostream_impl, operator<<, lazy_ostream
#include <boost/thread/detail/thread_group.hpp> // for thread_group
#include <boost/thread/pthread/mutex.hpp> // for mutex
#include <cstddef> // for size_t
#include <cstdint> // for uint64_t
#include <initializer_list> // for initializer_list
#include <memory> // for unique_ptr
#include <ostream> // for operator<<
#include <thread> // for condition_variable, mutex, unique_lock, thread, lock_guard
#include <type_traits> // for swap
#include <unordered_set> // for unordered_multiset
#include <vector> // for vector, __vector_base<>::value_type
---
make[2]: *** [test/test_test_bitcoin-checkqueue_tests.o] Error 35
CXX test/test_test_bitcoin-key_io_tests.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 77600 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -DBOOST_TEST_DYN_LINK -I/usr/local/Cellar/libevent/2.1.8/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT test/test_test_bitcoin-denialofservice_tests.o -MD -MP -MF test/.deps/test_test_bitcoin-denialofservice_tests.Tpo -c -o test/test_test_bitcoin-denialofservice_tests.o `test -f 'test/denialofservice_tests.cpp' || echo './'`test/denialofservice_tests.cpp
make[2]: *** [test/test_test_bitcoin-denialofservice_tests.o] Error 134
CXX test/test_test_bitcoin-key_tests.o
test/blockencodings_tests.cpp should add these lines:
#include <assert.h> // for assert
#include <stddef.h> // for size_t
#include <boost/operators.hpp> // for dereferenceable
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0, BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <cstdint> // for uint64_t, uint16_t, uint32_t
#include <memory> // for shared_ptr
#include <type_traits> // for move
#include <utility> // for pair
#include <vector> // for vector, __vector_base<>::value_type
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::REGTEST
#include "primitives/block.h" // for CBlock, CBlockHeader
#include "primitives/transaction.h" // for CTransactionRef, CMutableTransaction, CTxIn, CTransaction, CTxOut, MakeTransactionRef, COutPoint
#include "script/script.h" // for CScript
#include "serialize.h" // for SER_NETWORK, READWRITE, ADD_SERIALIZE_METHODS, VARINT
#include "streams.h" // for CDataStream
#include "sync.h" // for LOCK
#include "txmempool.h" // for CTxMemPool, CTxMemPool::indexed_transaction_set, CTxMemPoolEntry
#include "uint256.h" // for uint256, operator==, operator!=, base_blob
#include "version.h" // for PROTOCOL_VERSION
test/blockencodings_tests.cpp should remove these lines:
- #include <random.h> // lines 9-9
- #include <boost/test/unit_test.hpp> // lines 13-13
The full include-list for test/blockencodings_tests.cpp:
#include <assert.h> // for assert
#include <blockencodings.h> // for PartiallyDownloadedBlock, PrefilledTransaction, BlockTransactionsRequest, CBlockHeaderAndShortTxIDs, READ_STATUS_OK, READ_STATUS_INVALID
#include <chainparams.h> // for Params, CChainParams
#include <consensus/merkle.h> // for BlockMerkleRoot
#include <pow.h> // for CheckProofOfWork
#include <stddef.h> // for size_t
#include <test/test_bitcoin.h> // for InsecureRand256, TestMemPoolEntryHelper, TestingSetup
#include <boost/operators.hpp> // for dereferenceable
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0, BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <cstdint> // for uint64_t, uint16_t, uint32_t
#include <memory> // for shared_ptr
#include <type_traits> // for move
#include <utility> // for pair
#include <vector> // for vector, __vector_base<>::value_type
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::REGTEST
#include "primitives/block.h" // for CBlock, CBlockHeader
#include "primitives/transaction.h" // for CTransactionRef, CMutableTransaction, CTxIn, CTransaction, CTxOut, MakeTransactionRef, COutPoint
#include "script/script.h" // for CScript
#include "serialize.h" // for SER_NETWORK, READWRITE, ADD_SERIALIZE_METHODS, VARINT
#include "streams.h" // for CDataStream
#include "sync.h" // for LOCK
#include "txmempool.h" // for CTxMemPool, CTxMemPool::indexed_transaction_set, CTxMemPoolEntry
#include "uint256.h" // for uint256, operator==, operator!=, base_blob
#include "version.h" // for PROTOCOL_VERSION
---
make[2]: *** [test/test_test_bitcoin-blockencodings_tests.o] Error 39
CXX test/test_test_bitcoin-limitedmap_tests.o
test/cuckoocache_tests.cpp should add these lines:
#include <stdint.h> // for uint8_t
#include <algorithm> // for max
#include <array> // for array
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE, BOOST_AUTO_TEST_SUITE_END
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <boost/thread/lock_types.hpp> // for unique_lock, shared_lock
#include <boost/thread/pthread/shared_mutex.hpp> // for shared_mutex
#include <cstdlib> // for uint32_t, size_t
#include <deque> // for deque
#include <vector> // for vector, __vector_base<>::value_type
#include "uint256.h" // for uint256, operator==
test/cuckoocache_tests.cpp should remove these lines:
- #include <test/test_bitcoin.h> // lines 7-7
- #include <boost/test/unit_test.hpp> // lines 4-4
The full include-list for test/cuckoocache_tests.cpp:
#include <cuckoocache.h> // for cache
#include <random.h> // for FastRandomContext
#include <script/sigcache.h> // for SignatureCacheHasher
#include <stdint.h> // for uint8_t
#include <algorithm> // for max
#include <array> // for array
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE, BOOST_AUTO_TEST_SUITE_END
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <boost/thread/lock_types.hpp> // for unique_lock, shared_lock
#include <boost/thread/pthread/shared_mutex.hpp> // for shared_mutex
#include <cstdlib> // for uint32_t, size_t
#include <deque> // for deque
#include <thread> // for thread
#include <vector> // for vector, __vector_base<>::value_type
#include "uint256.h" // for uint256, operator==
---
make[2]: *** [test/test_test_bitcoin-cuckoocache_tests.o] Error 30
CXX test/test_test_bitcoin-dbwrapper_tests.o
test/crypto_tests.cpp should add these lines:
#include <assert.h> // for assert
#include <stdint.h> // for uint64_t
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK, BOOST_CHECK_MESSAGE, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <string> // for string, operator+
#include "crypto/common.h" // for CountBits
#include "hash.h" // for CHash256
test/crypto_tests.cpp should remove these lines:
- #include <openssl/aes.h> // lines 21-21
- #include <openssl/evp.h> // lines 22-22
- #include <boost/test/unit_test.hpp> // lines 20-20
The full include-list for test/crypto_tests.cpp:
#include <assert.h> // for assert
#include <crypto/aes.h> // for AES_BLOCKSIZE, AES128CBCDecrypt, AES128CBCEncrypt, AES256CBCDecrypt, AES256CBCEncrypt, AES128Decrypt, AES128Encrypt, AES256Decrypt, AES256Encrypt
#include <crypto/chacha20.h> // for ChaCha20
#include <crypto/hmac_sha256.h> // for CHMAC_SHA256
#include <crypto/hmac_sha512.h> // for CHMAC_SHA512
#include <crypto/ripemd160.h> // for CRIPEMD160
#include <crypto/sha1.h> // for CSHA1
#include <crypto/sha256.h> // for CSHA256, SHA256D64
#include <crypto/sha512.h> // for CSHA512
#include <random.h> // for FastRandomContext
#include <stdint.h> // for uint64_t
#include <test/test_bitcoin.h> // for InsecureRandBits, BasicTestingSetup, InsecureRandRange
#include <utilstrencodings.h> // for ParseHex, HexStr
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK, BOOST_CHECK_MESSAGE, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <cstring> // for memcmp, size_t
#include <string> // for string, operator+
#include <vector> // for vector, operator==, vector<>::iterator, allocator
#include "crypto/common.h" // for CountBits
#include "hash.h" // for CHash256
---
make[2]: *** [test/test_test_bitcoin-crypto_tests.o] Error 27
CXX test/test_test_bitcoin-main_tests.o
Cycle in include-mapping:
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 77612 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -DBOOST_TEST_DYN_LINK -I/usr/local/Cellar/libevent/2.1.8/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT test/test_test_bitcoin-key_io_tests.o -MD -MP -MF test/.deps/test_test_bitcoin-key_io_tests.Tpo -c -o test/test_test_bitcoin-key_io_tests.o `test -f 'test/key_io_tests.cpp' || echo './'`test/key_io_tests.cpp
make[2]: *** [test/test_test_bitcoin-key_io_tests.o] Error 134
CXX test/test_test_bitcoin-mempool_tests.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 77615 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -DBOOST_TEST_DYN_LINK -I/usr/local/Cellar/libevent/2.1.8/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT test/test_test_bitcoin-key_tests.o -MD -MP -MF test/.deps/test_test_bitcoin-key_tests.Tpo -c -o test/test_test_bitcoin-key_tests.o `test -f 'test/key_tests.cpp' || echo './'`test/key_tests.cpp
make[2]: *** [test/test_test_bitcoin-key_tests.o] Error 134
CXX test/test_test_bitcoin-merkle_tests.o
test/getarg_tests.cpp should add these lines:
#include <boost/algorithm/string/classification.hpp> // for is_space
#include <boost/algorithm/string/constants.hpp> // for token_compress_on
#include <boost/algorithm/string/detail/classification.hpp> // for is_classifiedF
#include <boost/algorithm/string/split.hpp> // for split
#include <boost/iterator/iterator_facade.hpp> // for operator!=
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <boost/type_index/type_index_facade.hpp> // for operator==
test/getarg_tests.cpp should remove these lines:
- #include <boost/algorithm/string.hpp> // lines 11-11
- #include <boost/test/unit_test.hpp> // lines 12-12
The full include-list for test/getarg_tests.cpp:
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <util.h> // for ArgsManager, gArgs, OptionsCategory, OptionsCategory::OPTIONS
#include <boost/algorithm/string/classification.hpp> // for is_space
#include <boost/algorithm/string/constants.hpp> // for token_compress_on
#include <boost/algorithm/string/detail/classification.hpp> // for is_classifiedF
#include <boost/algorithm/string/split.hpp> // for split
#include <boost/iterator/iterator_facade.hpp> // for operator!=
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <boost/type_index/type_index_facade.hpp> // for operator==
#include <string> // for string
#include <vector> // for vector
---
make[2]: *** [test/test_test_bitcoin-getarg_tests.o] Error 27
CXX test/test_test_bitcoin-merkleblock_tests.o
test/limitedmap_tests.cpp should add these lines:
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <map> // for __map_const_iterator, operator==
#include <utility> // for pair
test/limitedmap_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 9-9
The full include-list for test/limitedmap_tests.cpp:
#include <limitedmap.h> // for limitedmap, limitedmap<>::const_iterator
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <map> // for __map_const_iterator, operator==
#include <utility> // for pair
---
make[2]: *** [test/test_test_bitcoin-limitedmap_tests.o] Error 13
CXX test/test_test_bitcoin-miner_tests.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 77627 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -DBOOST_TEST_DYN_LINK -I/usr/local/Cellar/libevent/2.1.8/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT test/test_test_bitcoin-mempool_tests.o -MD -MP -MF test/.deps/test_test_bitcoin-mempool_tests.Tpo -c -o test/test_test_bitcoin-mempool_tests.o `test -f 'test/mempool_tests.cpp' || echo './'`test/mempool_tests.cpp
make[2]: *** [test/test_test_bitcoin-mempool_tests.o] Error 134
CXX test/test_test_bitcoin-multisig_tests.o
test/main_tests.cpp should add these lines:
#include <boost/function/function_base.hpp> // for operator==
#include <boost/function/function_template.hpp> // for function
#include <boost/iterator/iterator_facade.hpp> // for operator!=
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/signals2/expired_slot.hpp> // for expired_slot
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/smart_ptr/shared_ptr.hpp> // for shared_ptr
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <boost/type_index/type_index_facade.hpp> // for operator==
#include <list> // for operator!=, operator==
#include <memory> // for unique_ptr
#include "amount.h" // for CAmount, MoneyRange, COIN
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::MAIN
#include "consensus/params.h" // for Params
test/main_tests.cpp should remove these lines:
- #include <boost/signals2/signal.hpp> // lines 11-11
- #include <boost/test/unit_test.hpp> // lines 12-12
The full include-list for test/main_tests.cpp:
#include <chainparams.h> // for CreateChainParams, CChainParams
#include <net.h> // for CombinerAll
#include <test/test_bitcoin.h> // for TestingSetup
#include <validation.h> // for GetBlockSubsidy
#include <boost/function/function_base.hpp> // for operator==
#include <boost/function/function_template.hpp> // for function
#include <boost/iterator/iterator_facade.hpp> // for operator!=
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/signals2/detail/lwm_pthreads.hpp> // for mutex
#include <boost/signals2/detail/signal_template.hpp> // for signal
#include <boost/signals2/expired_slot.hpp> // for expired_slot
#include <boost/smart_ptr/detail/operator_bool.hpp> // for shared_ptr::operator!
#include <boost/smart_ptr/shared_ptr.hpp> // for shared_ptr
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <boost/type_index/type_index_facade.hpp> // for operator==
#include <list> // for operator!=, operator==
#include <memory> // for unique_ptr
#include "amount.h" // for CAmount, MoneyRange, COIN
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::MAIN
#include "consensus/params.h" // for Params
---
make[2]: *** [test/test_test_bitcoin-main_tests.o] Error 35
CXX test/test_test_bitcoin-net_tests.o
test/hash_tests.cpp should add these lines:
#include <stdint.h> // for uint64_t, uint8_t, uint32_t
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include "clientversion.h" // for CLIENT_VERSION
#include "crypto/common.h" // for WriteLE32
#include "primitives/transaction.h" // for CMutableTransaction
#include "random.h" // for FastRandomContext
#include "serialize.h" // for SER_DISK
#include "uint256.h" // for uint256, uint256S
test/hash_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 11-11
- #include <vector> // lines 9-9
The full include-list for test/hash_tests.cpp:
#include <hash.h> // for MurmurHash3, CSipHasher, SipHashUint256, CHashWriter, SipHashUint256Extra
#include <stdint.h> // for uint64_t, uint8_t, uint32_t
#include <test/test_bitcoin.h> // for InsecureRand256, BasicTestingSetup
#include <utilstrencodings.h> // for ParseHex, ARRAYLEN
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include "clientversion.h" // for CLIENT_VERSION
#include "crypto/common.h" // for WriteLE32
#include "primitives/transaction.h" // for CMutableTransaction
#include "random.h" // for FastRandomContext
#include "serialize.h" // for SER_DISK
#include "uint256.h" // for uint256, uint256S
---
make[2]: *** [test/test_test_bitcoin-hash_tests.o] Error 28
CXX test/test_test_bitcoin-netbase_tests.o
test/merkle_tests.cpp should add these lines:
#include <algorithm> // for min
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <cstdlib> // for uint32_t, size_t
#include <memory> // for shared_ptr, allocator
#include <type_traits> // for move
#include <vector> // for vector, __vector_base<>::value_type, vector<>::const_iterator, operator==
#include "hash.h" // for CHash256, Hash
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CTransactionRef, CMutableTransaction, CTransaction, MakeTransactionRef
#include "uint256.h" // for uint256, operator==, base_blob
#include "utilstrencodings.h" // for BEGIN, END
test/merkle_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 8-8
The full include-list for test/merkle_tests.cpp:
#include <consensus/merkle.h> // for BlockMerkleRoot
#include <test/test_bitcoin.h> // for InsecureRandRange, TestingSetup
#include <algorithm> // for min
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <cstdlib> // for uint32_t, size_t
#include <memory> // for shared_ptr, allocator
#include <type_traits> // for move
#include <vector> // for vector, __vector_base<>::value_type, vector<>::const_iterator, operator==
#include "hash.h" // for CHash256, Hash
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CTransactionRef, CMutableTransaction, CTransaction, MakeTransactionRef
#include "uint256.h" // for uint256, operator==, base_blob
#include "utilstrencodings.h" // for BEGIN, END
---
make[2]: *** [test/test_test_bitcoin-merkle_tests.o] Error 21
CXX test/test_test_bitcoin-pmt_tests.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 77639 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -DBOOST_TEST_DYN_LINK -I/usr/local/Cellar/libevent/2.1.8/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT test/test_test_bitcoin-multisig_tests.o -MD -MP -MF test/.deps/test_test_bitcoin-multisig_tests.Tpo -c -o test/test_test_bitcoin-multisig_tests.o `test -f 'test/multisig_tests.cpp' || echo './'`test/multisig_tests.cpp
make[2]: *** [test/test_test_bitcoin-multisig_tests.o] Error 134
CXX test/test_test_bitcoin-policyestimator_tests.o
test/dbwrapper_tests.cpp should add these lines:
#include <stdint.h> // for uint32_t, uint8_t
#include <stdio.h> // for snprintf, size_t
#include <boost/filesystem/operations.hpp> // for temp_directory_path, unique_path, create_directories
#include <boost/filesystem/path.hpp> // for operator/, path
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <exception> // for exception
#include <initializer_list> // for initializer_list
#include <ios> // for string, ios_base::failure, ios_base
#include <vector> // for vector
#include "serialize.h" // for READWRITE, ADD_SERIALIZE_METHODS
#include "tinyformat.h" // for format_error
#include "util.h" // for MakeUnique
test/dbwrapper_tests.cpp should remove these lines:
- #include <random.h> // lines 7-7
- #include <boost/test/unit_test.hpp> // lines 12-12
The full include-list for test/dbwrapper_tests.cpp:
#include <dbwrapper.h> // for CDBWrapper, CDBIterator, GetObfuscateKey, CDBBatch
#include <stdint.h> // for uint32_t, uint8_t
#include <stdio.h> // for snprintf, size_t
#include <test/test_bitcoin.h> // for InsecureRand256, BasicTestingSetup
#include <uint256.h> // for uint256
#include <boost/filesystem/operations.hpp> // for temp_directory_path, unique_path, create_directories
#include <boost/filesystem/path.hpp> // for operator/, path
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <exception> // for exception
#include <initializer_list> // for initializer_list
#include <ios> // for string, ios_base::failure, ios_base
#include <memory> // for unique_ptr
#include <vector> // for vector
#include "serialize.h" // for READWRITE, ADD_SERIALIZE_METHODS
#include "tinyformat.h" // for format_error
#include "util.h" // for MakeUnique
---
make[2]: *** [test/test_test_bitcoin-dbwrapper_tests.o] Error 32
CXX test/test_test_bitcoin-pow_tests.o
test/miner_tests.cpp should add these lines:
#include <stddef.h> // for size_t
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2, BOOST_PP_BOOL_0, BOOST_PP_BOOL_1
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK, BOOST_CHECK_EXCEPTION, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <stdexcept> // for runtime_error
#include <string> // for string
#include <type_traits> // for move
#include <vector> // for vector, __vector_base<>::value_type
#include "amount.h" // for CAmount, COIN, CENT
#include "chain.h" // for CBlockIndex, CChain, CBlockIndex::nMedianTimeSpan
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::MAIN
#include "policy/feerate.h" // for CFeeRate
#include "prevector.h" // for prevector<>::iterator, operator-
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CMutableTransaction, CTxIn, CTxOut, CTransactionRef, COutPoint, CTransaction, CTxIn::SEQUENCE_LOCKTIME_TYPE_FLAG, MakeTransactionRef, CTxIn::SEQUENCE_FINAL, CTxIn::SEQUENCE_LOCKTIME_GRANULARITY
#include "script/script.h" // for CScript, OP_1, OP_0, OP_2, OP_CHECKMULTISIG, OP_CHECKSIG, OP_DROP, OP_NOP
#include "serialize.h" // for GetSerializeSize, SER_NETWORK
#include "sync.h" // for LOCK
#include "utiltime.h" // for GetTime, SetMockTime
#include "version.h" // for PROTOCOL_VERSION
test/miner_tests.cpp should remove these lines:
- #include <consensus/validation.h> // lines 10-10
- #include <pubkey.h> // lines 14-14
- #include <util.h> // lines 18-18
- #include <boost/test/unit_test.hpp> // lines 25-25
The full include-list for test/miner_tests.cpp:
#include <chainparams.h> // for CreateChainParams
#include <coins.h> // for CCoinsViewCache
#include <consensus/consensus.h> // for LOCKTIME_MEDIAN_TIME_PAST, LOCKTIME_VERIFY_SEQUENCE, MAX_BLOCK_WEIGHT
#include <consensus/merkle.h> // for BlockMerkleRoot
#include <consensus/tx_verify.h> // for IsFinalTx, SequenceLocks
#include <miner.h> // for CBlockTemplate, BlockAssembler, BlockAssembler::Options
#include <policy/policy.h> // for DEFAULT_BLOCK_MIN_TX_FEE
#include <script/standard.h> // for CScriptID, GetScriptForDestination
#include <stddef.h> // for size_t
#include <test/test_bitcoin.h> // for TestMemPoolEntryHelper, InsecureRand256, TestingSetup
#include <txmempool.h> // for CTxMemPool
#include <uint256.h> // for uint256, operator==, operator!=, base_blob
#include <utilstrencodings.h> // for ParseHex
#include <validation.h> // for chainActive, mempool, CheckFinalTx, CheckSequenceLocks, ProcessNewBlock, pcoinsTip, cs_main, fCheckpointsEnabled
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2, BOOST_PP_BOOL_0, BOOST_PP_BOOL_1
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK, BOOST_CHECK_EXCEPTION, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <memory> // for unique_ptr, shared_ptr, make_shared
#include <stdexcept> // for runtime_error
#include <string> // for string
#include <type_traits> // for move
#include <vector> // for vector, __vector_base<>::value_type
#include "amount.h" // for CAmount, COIN, CENT
#include "chain.h" // for CBlockIndex, CChain, CBlockIndex::nMedianTimeSpan
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::MAIN
#include "policy/feerate.h" // for CFeeRate
#include "prevector.h" // for prevector<>::iterator, operator-
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CMutableTransaction, CTxIn, CTxOut, CTransactionRef, COutPoint, CTransaction, CTxIn::SEQUENCE_LOCKTIME_TYPE_FLAG, MakeTransactionRef, CTxIn::SEQUENCE_FINAL, CTxIn::SEQUENCE_LOCKTIME_GRANULARITY
#include "script/script.h" // for CScript, OP_1, OP_0, OP_2, OP_CHECKMULTISIG, OP_CHECKSIG, OP_DROP, OP_NOP
#include "serialize.h" // for GetSerializeSize, SER_NETWORK
#include "sync.h" // for LOCK
#include "utiltime.h" // for GetTime, SetMockTime
#include "version.h" // for PROTOCOL_VERSION
---
make[2]: *** [test/test_test_bitcoin-miner_tests.o] Error 40
CXX test/test_test_bitcoin-prevector_tests.o
test/merkleblock_tests.cpp should add these lines:
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <set> // for set
#include <vector> // for vector, __vector_base<>::value_type
#include "primitives/block.h" // for CBlock, CBlockHeader
test/merkleblock_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 9-9
The full include-list for test/merkleblock_tests.cpp:
#include <merkleblock.h> // for CMerkleBlock, CPartialMerkleTree
#include <test/test_bitcoin.h> // for getBlock13b8a, BasicTestingSetup
#include <uint256.h> // for uint256, uint256S, operator<
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <set> // for set
#include <vector> // for vector, __vector_base<>::value_type
#include "primitives/block.h" // for CBlock, CBlockHeader
---
make[2]: *** [test/test_test_bitcoin-merkleblock_tests.o] Error 23
CXX test/test_test_bitcoin-raii_event_tests.o
test/net_tests.cpp should add these lines:
#include <netinet/in.h> // for in_addr
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <exception> // for exception
#include <map> // for map
#include <vector> // for vector
#include "addrdb.h" // for CAddrDB
#include "clientversion.h" // for CLIENT_VERSION
#include "compat.h" // for INVALID_SOCKET, SOCKET
#include "netaddress.h" // for CService, CNetAddr
#include "protocol.h" // for CAddress, NODE_NONE, NODE_NETWORK
#include "random.h" // for FastRandomContext
#include "tinyformat.h" // for format_error
#include "uint256.h" // for uint256
test/net_tests.cpp should remove these lines:
- #include <hash.h> // lines 8-8
- #include <boost/test/unit_test.hpp> // lines 7-7
The full include-list for test/net_tests.cpp:
#include <addrman.h> // for CAddrMan, CAddrInfo, ADDRMAN_NEW_BUCKET_COUNT
#include <chainparams.h> // for Params, CChainParams
#include <net.h> // for CNode, GetListenPort, NodeId
#include <netbase.h> // for Lookup, LookupHost
#include <netinet/in.h> // for in_addr
#include <serialize.h> // for SER_DISK
#include <streams.h> // for CDataStream
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <util.h> // for ArgsManager, gArgs
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <exception> // for exception
#include <map> // for map
#include <memory> // for unique_ptr
#include <string> // for string, to_string
#include <vector> // for vector
#include "addrdb.h" // for CAddrDB
#include "clientversion.h" // for CLIENT_VERSION
#include "compat.h" // for INVALID_SOCKET, SOCKET
#include "netaddress.h" // for CService, CNetAddr
#include "protocol.h" // for CAddress, NODE_NONE, NODE_NETWORK
#include "random.h" // for FastRandomContext
#include "tinyformat.h" // for format_error
#include "uint256.h" // for uint256
---
make[2]: *** [test/test_test_bitcoin-net_tests.o] Error 24
CXX test/test_test_bitcoin-random_tests.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 77654 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -DBOOST_TEST_DYN_LINK -I/usr/local/Cellar/libevent/2.1.8/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT test/test_test_bitcoin-policyestimator_tests.o -MD -MP -MF test/.deps/test_test_bitcoin-policyestimator_tests.Tpo -c -o test/test_test_bitcoin-policyestimator_tests.o `test -f 'test/policyestimator_tests.cpp' || echo './'`test/policyestimator_tests.cpp
make[2]: *** [test/test_test_bitcoin-policyestimator_tests.o] Error 134
CXX test/test_test_bitcoin-reverselock_tests.o
test/pmt_tests.cpp should add these lines:
#include <algorithm> // for min
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <memory> // for shared_ptr
#include <type_traits> // for move
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CTransactionRef, CMutableTransaction, MakeTransactionRef, CTransaction
test/pmt_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 16-16
The full include-list for test/pmt_tests.cpp:
#include <arith_uint256.h> // for ArithToUint256
#include <consensus/merkle.h> // for BlockMerkleRoot
#include <merkleblock.h> // for CPartialMerkleTree
#include <serialize.h> // for SER_NETWORK
#include <streams.h> // for CDataStream
#include <test/test_bitcoin.h> // for InsecureRandBits, InsecureRandRange, SeedInsecureRand, BasicTestingSetup
#include <uint256.h> // for uint256, operator==, operator!=, base_blob
#include <version.h> // for PROTOCOL_VERSION
#include <algorithm> // for min
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <memory> // for shared_ptr
#include <type_traits> // for move
#include <vector> // for vector, operator==, __vector_base<>::value_type, allocator, vector<>::reference
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CTransactionRef, CMutableTransaction, MakeTransactionRef, CTransaction
---
make[2]: *** [test/test_test_bitcoin-pmt_tests.o] Error 16
CXX test/test_test_bitcoin-rpc_tests.o
test/pow_tests.cpp should add these lines:
#include <stdint.h> // for int64_t
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <memory> // for unique_ptr
#include <vector> // for vector
#include "arith_uint256.h" // for arith_uint256, operator+, base_uint
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::MAIN
#include "consensus/params.h" // for Params
test/pow_tests.cpp should remove these lines:
- #include <random.h> // lines 8-8
- #include <util.h> // lines 9-9
- #include <boost/test/unit_test.hpp> // lines 12-12
The full include-list for test/pow_tests.cpp:
#include <chain.h> // for CBlockIndex, GetBlockProof, GetBlockProofEquivalentTime
#include <chainparams.h> // for CreateChainParams, CChainParams
#include <pow.h> // for CalculateNextWorkRequired
#include <stdint.h> // for int64_t
#include <test/test_bitcoin.h> // for InsecureRandRange, BasicTestingSetup
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <memory> // for unique_ptr
#include <vector> // for vector
#include "arith_uint256.h" // for arith_uint256, operator+, base_uint
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::MAIN
#include "consensus/params.h" // for Params
---
make[2]: *** [test/test_test_bitcoin-pow_tests.o] Error 28
CXX test/test_test_bitcoin-sanity_tests.o
test/prevector_tests.cpp should add these lines:
#include <stddef.h> // for size_t
#include <algorithm> // for min, max
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_MESSAGE, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <ostream> // for operator<<
#include <string> // for operator+
#include <type_traits> // for move
#include "random.h" // for FastRandomContext
#include "uint256.h" // for uint256
test/prevector_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 14-14
The full include-list for test/prevector_tests.cpp:
#include <prevector.h> // for prevector
#include <reverse_iterator.h> // for reverse_range, reverse_iterate
#include <serialize.h> // for SER_DISK
#include <stddef.h> // for size_t
#include <streams.h> // for CDataStream
#include <test/test_bitcoin.h> // for InsecureRandBits, InsecureRandRange, InsecureRand32, InsecureRandBool, SeedInsecureRand, TestingSetup, insecure_rand_ctx, insecure_rand_seed
#include <algorithm> // for min, max
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_MESSAGE, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <ostream> // for operator<<
#include <string> // for operator+
#include <type_traits> // for move
#include <vector> // for vector
#include "random.h" // for FastRandomContext
#include "uint256.h" // for uint256
---
make[2]: *** [test/test_test_bitcoin-prevector_tests.o] Error 18
CXX test/test_test_bitcoin-scheduler_tests.o
test/raii_event_tests.cpp should add these lines:
#include <stdint.h> // for uint16_t
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <memory> // for unique_ptr
test/raii_event_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 19-19
- #include <vector> // lines 17-17
The full include-list for test/raii_event_tests.cpp:
#include <event2/event.h> // for event_set_mem_functions, EVENT_SET_MEM_FUNCTIONS_IMPLEMENTED
#include <stdint.h> // for uint16_t
#include <stdlib.h> // for realloc, free, malloc, size_t
#include <support/events.h> // for obtain_event_base, obtain_event
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <map> // for map
#include <memory> // for unique_ptr
---
make[2]: *** [test/test_test_bitcoin-raii_event_tests.o] Error 14
CXX test/test_test_bitcoin-script_p2sh_tests.o
Cycle in include-mapping:
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 77672 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -DBOOST_TEST_DYN_LINK -I/usr/local/Cellar/libevent/2.1.8/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT test/test_test_bitcoin-rpc_tests.o -MD -MP -MF test/.deps/test_test_bitcoin-rpc_tests.Tpo -c -o test/test_test_bitcoin-rpc_tests.o `test -f 'test/rpc_tests.cpp' || echo './'`test/rpc_tests.cpp
make[2]: *** [test/test_test_bitcoin-rpc_tests.o] Error 134
CXX test/test_test_bitcoin-script_tests.o
test/reverselock_tests.cpp should add these lines:
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <boost/thread/lock_types.hpp> // for unique_lock
#include <boost/thread/pthread/mutex.hpp> // for mutex
#include <type_traits> // for swap
test/reverselock_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 8-8
The full include-list for test/reverselock_tests.cpp:
#include <reverselock.h> // for reverse_lock
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <boost/thread/lock_types.hpp> // for unique_lock
#include <boost/thread/pthread/mutex.hpp> // for mutex
#include <type_traits> // for swap
---
make[2]: *** [test/test_test_bitcoin-reverselock_tests.o] Error 14
CXX test/test_test_bitcoin-script_standard_tests.o
test/random_tests.cpp should add these lines:
#include <stdint.h> // for uint64_t
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <vector> // for vector, operator==, allocator, operator!=
#include "uint256.h" // for operator==, uint256, base_blob, operator!=
test/random_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 9-9
- #include <random> // lines 11-11
The full include-list for test/random_tests.cpp:
#include <random.h> // for FastRandomContext, Random_SanityCheck
#include <stdint.h> // for uint64_t
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <algorithm> // for find, shuffle, uniform_int_distribution
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <vector> // for vector, operator==, allocator, operator!=
#include "uint256.h" // for operator==, uint256, base_blob, operator!=
---
make[2]: *** [test/test_test_bitcoin-random_tests.o] Error 24
CXX test/test_test_bitcoin-scriptnum_tests.o
test/sanity_tests.cpp should add these lines:
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_MESSAGE, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
test/sanity_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 9-9
The full include-list for test/sanity_tests.cpp:
#include <compat/sanity.h> // for glibc_sanity_test, glibcxx_sanity_test
#include <key.h> // for ECC_InitSanityCheck
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_MESSAGE, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
---
make[2]: *** [test/test_test_bitcoin-sanity_tests.o] Error 11
CXX test/test_test_bitcoin-serialize_tests.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 77681 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -DBOOST_TEST_DYN_LINK -I/usr/local/Cellar/libevent/2.1.8/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT test/test_test_bitcoin-script_p2sh_tests.o -MD -MP -MF test/.deps/test_test_bitcoin-script_p2sh_tests.Tpo -c -o test/test_test_bitcoin-script_p2sh_tests.o `test -f 'test/script_p2sh_tests.cpp' || echo './'`test/script_p2sh_tests.cpp
make[2]: *** [test/test_test_bitcoin-script_p2sh_tests.o] Error 134
CXX test/test_test_bitcoin-sighash_tests.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 77684 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -DBOOST_TEST_DYN_LINK -I/usr/local/Cellar/libevent/2.1.8/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT test/test_test_bitcoin-script_tests.o -MD -MP -MF test/.deps/test_test_bitcoin-script_tests.Tpo -c -o test/test_test_bitcoin-script_tests.o `test -f 'test/script_tests.cpp' || echo './'`test/script_tests.cpp
make[2]: *** [test/test_test_bitcoin-script_tests.o] Error 134
CXX test/test_test_bitcoin-sigopcount_tests.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 77687 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -DBOOST_TEST_DYN_LINK -I/usr/local/Cellar/libevent/2.1.8/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT test/test_test_bitcoin-script_standard_tests.o -MD -MP -MF test/.deps/test_test_bitcoin-script_standard_tests.Tpo -c -o test/test_test_bitcoin-script_standard_tests.o `test -f 'test/script_standard_tests.cpp' || echo './'`test/script_standard_tests.cpp
make[2]: *** [test/test_test_bitcoin-script_standard_tests.o] Error 134
CXX test/test_test_bitcoin-skiplist_tests.o
test/scheduler_tests.cpp should add these lines:
#include <stddef.h> // for size_t
#include <stdint.h> // for uint64_t
#include <boost/bind/bind.hpp> // for bind_t, bind
#include <boost/chrono/duration.hpp> // for operator<, microseconds, operator>
#include <boost/chrono/system_clocks.hpp> // for system_clock::time_point, system_clock
#include <boost/chrono/time_point.hpp> // for operator+, operator!=, operator<, operator>
#include <boost/core/ref.hpp> // for reference_wrapper, ref
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE, BOOST_AUTO_TEST_SUITE_END
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <boost/thread/detail/thread_group.hpp> // for thread_group
#include <boost/thread/lock_types.hpp> // for unique_lock
#include <boost/thread/pthread/mutex.hpp> // for mutex
#include <boost/thread/v2/thread.hpp> // for sleep_for
#include <functional> // for __base
#include "config/bitcoin-config.h" // for HAVE_WORKING_BOOST_SLEEP_FOR
test/scheduler_tests.cpp should remove these lines:
- #include <test/test_bitcoin.h> // lines 8-8
- #include <boost/bind.hpp> // lines 10-10
- #include <boost/test/unit_test.hpp> // lines 12-12
- #include <boost/thread.hpp> // lines 11-11
The full include-list for test/scheduler_tests.cpp:
#include <random.h> // for FastRandomContext
#include <scheduler.h> // for CScheduler, CScheduler::Function
#include <stddef.h> // for size_t
#include <stdint.h> // for uint64_t
#include <boost/bind/bind.hpp> // for bind_t, bind
#include <boost/chrono/duration.hpp> // for operator<, microseconds, operator>
#include <boost/chrono/system_clocks.hpp> // for system_clock::time_point, system_clock
#include <boost/chrono/time_point.hpp> // for operator+, operator!=, operator<, operator>
#include <boost/core/ref.hpp> // for reference_wrapper, ref
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE, BOOST_AUTO_TEST_SUITE_END
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <boost/thread/detail/thread_group.hpp> // for thread_group
#include <boost/thread/lock_types.hpp> // for unique_lock
#include <boost/thread/pthread/mutex.hpp> // for mutex
#include <boost/thread/v2/thread.hpp> // for sleep_for
#include <functional> // for __base
#include "config/bitcoin-config.h" // for HAVE_WORKING_BOOST_SLEEP_FOR
---
make[2]: *** [test/test_test_bitcoin-scheduler_tests.o] Error 36
CXX test/test_test_bitcoin-streams_tests.o
test/netbase_tests.cpp should add these lines:
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <vector> // for operator==, vector
#include "netaddress.h" // for CSubNet, CNetAddr, NET_IPV4, operator==, NET_IPV6, NET_INTERNAL, NET_ONION, operator!=, CService, NET_UNROUTABLE
test/netbase_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 11-11
The full include-list for test/netbase_tests.cpp:
#include <netbase.h> // for LookupHost, LookupNumeric, LookupSubNet
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <utilstrencodings.h> // for SplitHostPort
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <string> // for operator==, allocator, string
#include <vector> // for operator==, vector
#include "netaddress.h" // for CSubNet, CNetAddr, NET_IPV4, operator==, NET_IPV6, NET_INTERNAL, NET_ONION, operator!=, CService, NET_UNROUTABLE
---
make[2]: *** [test/test_test_bitcoin-netbase_tests.o] Error 22
CXX test/test_test_bitcoin-timedata_tests.o
Cycle in include-mapping:
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 77699 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -DBOOST_TEST_DYN_LINK -I/usr/local/Cellar/libevent/2.1.8/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT test/test_test_bitcoin-sigopcount_tests.o -MD -MP -MF test/.deps/test_test_bitcoin-sigopcount_tests.Tpo -c -o test/test_test_bitcoin-sigopcount_tests.o `test -f 'test/sigopcount_tests.cpp' || echo './'`test/sigopcount_tests.cpp
make[2]: *** [test/test_test_bitcoin-sigopcount_tests.o] Error 134
CXX test/test_test_bitcoin-torcontrol_tests.o
test/scriptnum_tests.cpp should add these lines:
#include <stddef.h> // for size_t
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK, BOOST_CHECK_THROW
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <limits> // for numeric_limits
#include <vector> // for operator==, vector, allocator
test/scriptnum_tests.cpp should remove these lines:
- #include <limits.h> // lines 10-10
- #include <boost/test/unit_test.hpp> // lines 9-9
The full include-list for test/scriptnum_tests.cpp:
#include <script/script.h> // for CScriptNum, CScriptNum::nDefaultMaxNumSize
#include <stddef.h> // for size_t
#include <stdint.h> // for int64_t
#include <test/scriptnum10.h> // for CScriptNum10
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK, BOOST_CHECK_THROW
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <limits> // for numeric_limits
#include <vector> // for operator==, vector, allocator
---
make[2]: *** [test/test_test_bitcoin-scriptnum_tests.o] Error 15
CXX test/test_test_bitcoin-transaction_tests.o
test/sighash_tests.cpp should add these lines:
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK, BOOST_CHECK_MESSAGE, BOOST_ERROR
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <boost/test/utils/lazy_ostream.hpp> // for lazy_ostream, operator<<
#include <memory> // for shared_ptr, shared_ptr<>::element_type
#include <string> // for operator==, string
#include <vector> // for vector, __vector_base<>::value_type
#include "primitives/transaction.h" // for CTxIn, CMutableTransaction, CTxOut, COutPoint, CTransaction, CTransactionRef, SERIALIZE_TRANSACTION_NO_WITNESS
#include "uint256.h" // for uint256, operator==, uint256S, base_blob
test/sighash_tests.cpp should remove these lines:
- #include <util.h> // lines 14-14
- #include <boost/test/unit_test.hpp> // lines 20-20
The full include-list for test/sighash_tests.cpp:
#include <consensus/tx_verify.h> // for CheckTransaction
#include <consensus/validation.h> // for CValidationState
#include <hash.h> // for CHashWriter
#include <script/interpreter.h> // for SignatureHash, FindAndDelete, SIGHASH_SINGLE, SigVersion, SigVersion::BASE, SIGHASH_ANYONECANPAY, SIGHASH_NONE
#include <script/script.h> // for CScript, opcodetype, OP_CODESEPARATOR, OP_1, OP_2, OP_3, OP_CHECKSIG, OP_FALSE, OP_IF, OP_RETURN, OP_VERIF
#include <serialize.h> // for SER_GETHASH, SER_NETWORK
#include <streams.h> // for CDataStream
#include <test/data/sighash.json.h> // for sighash
#include <test/test_bitcoin.h> // for InsecureRand32, InsecureRandRange, InsecureRandBits, InsecureRandBool, InsecureRand256, SeedInsecureRand, BasicTestingSetup
#include <univalue.h> // for UniValue
#include <utilstrencodings.h> // for ParseHex
#include <version.h> // for PROTOCOL_VERSION
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK, BOOST_CHECK_MESSAGE, BOOST_ERROR
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <boost/test/utils/lazy_ostream.hpp> // for lazy_ostream, operator<<
#include <iostream> // for string, operator<<
#include <memory> // for shared_ptr, shared_ptr<>::element_type
#include <string> // for operator==, string
#include <vector> // for vector, __vector_base<>::value_type
#include "primitives/transaction.h" // for CTxIn, CMutableTransaction, CTxOut, COutPoint, CTransaction, CTransactionRef, SERIALIZE_TRANSACTION_NO_WITNESS
#include "uint256.h" // for uint256, operator==, uint256S, base_blob
---
make[2]: *** [test/test_test_bitcoin-sighash_tests.o] Error 18
CXX test/test_test_bitcoin-txindex_tests.o
test/streams_tests.cpp should add these lines:
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <string> // for string
#include <vector> // for vector, operator==, allocator
#include "serialize.h" // for SER_NETWORK
#include "version.h" // for INIT_PROTO_VERSION
test/streams_tests.cpp should remove these lines:
- #include <support/allocators/zeroafterfree.h> // lines 6-6
- #include <boost/test/unit_test.hpp> // lines 9-9
The full include-list for test/streams_tests.cpp:
#include <streams.h> // for CDataStream, CVectorWriter
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <string> // for string
#include <vector> // for vector, operator==, allocator
#include "serialize.h" // for SER_NETWORK
#include "version.h" // for INIT_PROTO_VERSION
---
make[2]: *** [test/test_test_bitcoin-streams_tests.o] Error 25
CXX test/test_test_bitcoin-txvalidation_tests.o
test/skiplist_tests.cpp should add these lines:
#include <stdint.h> // for int64_t
#include <algorithm> // for max
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <initializer_list> // for initializer_list
#include <limits> // for numeric_limits
#include <list> // for list
#include "arith_uint256.h" // for UintToArith256, ArithToUint256, arith_uint256, operator+, operator<<, base_uint
#include "primitives/block.h" // for CBlockLocator
#include "uint256.h" // for uint256, operator==, base_blob
test/skiplist_tests.cpp should remove these lines:
- #include <util.h> // lines 6-6
- #include <boost/test/unit_test.hpp> // lines 11-11
The full include-list for test/skiplist_tests.cpp:
#include <chain.h> // for CBlockIndex, CChain
#include <stdint.h> // for int64_t
#include <test/test_bitcoin.h> // for InsecureRandRange, BasicTestingSetup
#include <algorithm> // for max
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <initializer_list> // for initializer_list
#include <limits> // for numeric_limits
#include <list> // for list
#include <vector> // for vector, __vector_base<>::value_type, vector<>::value_type
#include "arith_uint256.h" // for UintToArith256, ArithToUint256, arith_uint256, operator+, operator<<, base_uint
#include "primitives/block.h" // for CBlockLocator
#include "uint256.h" // for uint256, operator==, base_blob
---
make[2]: *** [test/test_test_bitcoin-skiplist_tests.o] Error 29
CXX test/test_test_bitcoin-txvalidationcache_tests.o
test/timedata_tests.cpp should add these lines:
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
test/timedata_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 8-8
The full include-list for test/timedata_tests.cpp:
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <timedata.h> // for CMedianFilter
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
---
make[2]: *** [test/test_test_bitcoin-timedata_tests.o] Error 20
CXX test/test_test_bitcoin-uint256_tests.o
test/txindex_tests.cpp should add these lines:
#include <stdint.h> // for int64_t
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_ERROR, BOOST_CHECK, BOOST_REQUIRE
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_SUITE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_CASE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <memory> // for shared_ptr
#include <vector> // for vector, __vector_base<>::value_type
#include "key.h" // for CKey
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CTransaction, CMutableTransaction, CTransactionRef
#include "pubkey.h" // for CKeyID, CPubKey
#include "script/script.h" // for CScript
#include "uint256.h" // for operator!=, uint256, base_blob
test/txindex_tests.cpp should remove these lines:
- #include <util.h> // lines 8-8
- #include <validation.h> // lines 10-10
- #include <boost/test/unit_test.hpp> // lines 12-12
The full include-list for test/txindex_tests.cpp:
#include <index/txindex.h> // for TxIndex
#include <script/standard.h> // for GetScriptForDestination
#include <stdint.h> // for int64_t
#include <test/test_bitcoin.h> // for TestChain100Setup
#include <utiltime.h> // for GetTimeMillis, MilliSleep
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_ERROR, BOOST_CHECK, BOOST_REQUIRE
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_SUITE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_CASE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <memory> // for shared_ptr
#include <vector> // for vector, __vector_base<>::value_type
#include "key.h" // for CKey
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CTransaction, CMutableTransaction, CTransactionRef
#include "pubkey.h" // for CKeyID, CPubKey
#include "script/script.h" // for CScript
#include "uint256.h" // for operator!=, uint256, base_blob
---
make[2]: *** [test/test_test_bitcoin-txindex_tests.o] Error 22
CXX test/test_test_bitcoin-util_tests.o
test/torcontrol_tests.cpp should add these lines:
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_log.hpp> // for BOOST_TEST_MESSAGE
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
test/torcontrol_tests.cpp should remove these lines:
- #include <torcontrol.h> // lines 6-6
- #include <boost/test/unit_test.hpp> // lines 8-8
The full include-list for test/torcontrol_tests.cpp:
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_log.hpp> // for BOOST_TEST_MESSAGE
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <map> // for __map_iterator, map, operator!=
#include <string> // for string, operator+, allocator, basic_string
#include <utility> // for pair
---
make[2]: *** [test/test_test_bitcoin-torcontrol_tests.o] Error 22
CXX test/test_test_bitcoin-validation_block_tests.o
test/transaction_tests.cpp should add these lines:
#include <assert.h> // for assert
#include <stdint.h> // for int64_t, uint32_t
#include <boost/algorithm/string/detail/classification.hpp> // for is_any_ofF
#include <boost/bind/bind.hpp> // for bind_t, bind
#include <boost/core/ref.hpp> // for reference_wrapper, ref
#include <boost/iterator/iterator_facade.hpp> // for operator!=
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2, BOOST_PP_BOOL_0, BOOST_PP_BOOL_1
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK, BOOST_CHECK_MESSAGE, BOOST_ERROR, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <boost/test/utils/lazy_ostream.hpp> // for operator<<, lazy_ostream, lazy_ostream_impl
#include <boost/thread/detail/thread_group.hpp> // for thread_group
#include <boost/type_index/type_index_facade.hpp> // for operator==
#include <memory> // for shared_ptr
#include <ostream> // for operator<<
#include <type_traits> // for enable_if<>::type, move
#include <utility> // for pair
#include <vector> // for vector, vector<>::value_type, __vector_base<>::value_type, operator==
#include "amount.h" // for CENT, CAmount
#include "coins.h" // for Coin, AddCoins, CCoinsViewCache, CCoinsView
#include "policy/feerate.h" // for CFeeRate
#include "prevector.h" // for operator-
#include "primitives/transaction.h" // for CMutableTransaction, CTxOut, CTxIn, CTransaction, COutPoint, operator==, CTransactionRef, operator<
#include "pubkey.h" // for CPubKey, CKeyID
#include "script/interpreter.h" // for SCRIPT_VERIFY_P2SH, SCRIPT_VERIFY_WITNESS, VerifyScript, TransactionSignatureChecker, EvalScript, PrecomputedTransactionData, SCRIPT_VERIFY_STRICTENC, SIGHASH_ALL, SIGHASH_ANYONECANPAY, SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY, SCR...
#include "serialize.h" // for SER_NETWORK, deserialize, SER_DISK
#include "streams.h" // for CDataStream, OverrideStream, WithOrVersion
#include "sync.h" // for LOCK
#include "uint256.h" // for uint256, uint256S
#include "version.h" // for PROTOCOL_VERSION
test/transaction_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 29-29
The full include-list for test/transaction_tests.cpp:
#include <assert.h> // for assert
#include <checkqueue.h> // for CCheckQueue, CCheckQueueControl
#include <clientversion.h> // for CLIENT_VERSION
#include <consensus/tx_verify.h> // for CheckTransaction
#include <consensus/validation.h> // for CValidationState
#include <core_io.h> // for ParseScript
#include <key.h> // for CKey
#include <keystore.h> // for CBasicKeyStore, CKeyStore
#include <policy/policy.h> // for IsStandardTx, STANDARD_SCRIPT_VERIFY_FLAGS, AreInputsStandard, dustRelayFee, DUST_RELAY_TX_FEE
#include <script/script.h> // for CScript, ToByteVector, OP_RETURN, OP_CHECKSIG, OP_1, CScriptWitness, OP_0, OP_RESERVED
#include <script/script_error.h> // for ScriptErrorString, SCRIPT_ERR_OK, ScriptError
#include <script/sign.h> // for UpdateInput, DataFromTransaction, SignSignature, SignatureData, ProduceSignature, MutableTransactionSignatureCreator, DUMMY_SIGNING_PROVIDER
#include <script/standard.h> // for GetScriptForWitness, GetScriptForDestination, CScriptID, GetScriptForMultisig, MAX_OP_RETURN_RELAY
#include <stdint.h> // for int64_t, uint32_t
#include <test/data/tx_invalid.json.h> // for tx_invalid
#include <test/data/tx_valid.json.h> // for tx_valid
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <univalue.h> // for UniValue
#include <utilstrencodings.h> // for ParseHex
#include <validation.h> // for CScriptCheck, cs_main
#include <boost/algorithm/string/classification.hpp> // for is_any_of
#include <boost/algorithm/string/detail/classification.hpp> // for is_any_ofF
#include <boost/algorithm/string/split.hpp> // for split
#include <boost/bind/bind.hpp> // for bind_t, bind
#include <boost/core/ref.hpp> // for reference_wrapper, ref
#include <boost/iterator/iterator_facade.hpp> // for operator!=
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2, BOOST_PP_BOOL_0, BOOST_PP_BOOL_1
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK, BOOST_CHECK_MESSAGE, BOOST_ERROR, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <boost/test/utils/lazy_ostream.hpp> // for operator<<, lazy_ostream, lazy_ostream_impl
#include <boost/thread/detail/thread_group.hpp> // for thread_group
#include <boost/type_index/type_index_facade.hpp> // for operator==
#include <map> // for map, __tree_const_iterator<>::__non_const_iterator, __tree_const_iterator, map<>::const_iterator, operator!=, __map_const_iterator, map<>::mapped_type
#include <memory> // for shared_ptr
#include <ostream> // for operator<<
#include <string> // for string, basic_string, operator+, allocator
#include <type_traits> // for enable_if<>::type, move
#include <utility> // for pair
#include <vector> // for vector, vector<>::value_type, __vector_base<>::value_type, operator==
#include "amount.h" // for CENT, CAmount
#include "coins.h" // for Coin, AddCoins, CCoinsViewCache, CCoinsView
#include "policy/feerate.h" // for CFeeRate
#include "prevector.h" // for operator-
#include "primitives/transaction.h" // for CMutableTransaction, CTxOut, CTxIn, CTransaction, COutPoint, operator==, CTransactionRef, operator<
#include "pubkey.h" // for CPubKey, CKeyID
#include "script/interpreter.h" // for SCRIPT_VERIFY_P2SH, SCRIPT_VERIFY_WITNESS, VerifyScript, TransactionSignatureChecker, EvalScript, PrecomputedTransactionData, SCRIPT_VERIFY_STRICTENC, SIGHASH_ALL, SIGHASH_ANYONECANPAY, SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY, SCR...
#include "serialize.h" // for SER_NETWORK, deserialize, SER_DISK
#include "streams.h" // for CDataStream, OverrideStream, WithOrVersion
#include "sync.h" // for LOCK
#include "uint256.h" // for uint256, uint256S
#include "version.h" // for PROTOCOL_VERSION
---
make[2]: *** [test/test_test_bitcoin-transaction_tests.o] Error 46
CXX test/test_test_bitcoin-versionbits_tests.o
test/txvalidation_tests.cpp should add these lines:
#include <assert.h> // for assert
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0, BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_SUITE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_CASE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <vector> // for vector
#include "key.h" // for CKey
#include "pubkey.h" // for CPubKey
#include "sync.h" // for LOCK
test/txvalidation_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 13-13
The full include-list for test/txvalidation_tests.cpp:
#include <amount.h> // for CENT
#include <assert.h> // for assert
#include <consensus/validation.h> // for CValidationState
#include <primitives/transaction.h> // for CTxIn, CTxOut, CMutableTransaction, MakeTransactionRef, CTransaction
#include <script/script.h> // for CScript, ToByteVector, OP_11, OP_CHECKSIG, OP_EQUAL
#include <test/test_bitcoin.h> // for TestChain100Setup
#include <txmempool.h> // for CTxMemPool
#include <validation.h> // for AcceptToMemoryPool, mempool, cs_main
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0, BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_SUITE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_CASE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <vector> // for vector
#include "key.h" // for CKey
#include "pubkey.h" // for CPubKey
#include "sync.h" // for LOCK
---
make[2]: *** [test/test_test_bitcoin-txvalidation_tests.o] Error 25
CXX wallet/test/test_test_bitcoin-accounting_tests.o
test/txvalidationcache_tests.cpp should add these lines:
#include <stdint.h> // for uint32_t
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_FIXTURE_TEST_CASE, BOOST_AUTO_TEST_SUITE, BOOST_AUTO_TEST_SUITE_END
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <memory> // for unique_ptr, shared_ptr
#include <vector> // for vector
#include "amount.h" // for CENT
#include "chain.h" // for CBlockIndex, CChain
#include "coins.h" // for CCoinsViewCache
#include "prevector.h" // for prevector<>::iterator, operator-
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CMutableTransaction, CTxIn, CTxOut, COutPoint, CTransaction, MakeTransactionRef, CTransactionRef
#include "script/interpreter.h" // for SignatureHash, SIGHASH_ALL, SCRIPT_VERIFY_P2SH, PrecomputedTransactionData, SCRIPT_VERIFY_WITNESS, SigVersion, SigVersion::BASE, SCRIPT_VERIFY_DERSIG, SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY, SCRIPT_VERIFY_CHECKSEQUENCEVERIFY, SCR...
#include "script/script.h" // for CScript, ToByteVector, OP_CHECKSIG, CScriptWitness, OP_DROP, OP_CHECKLOCKTIMEVERIFY, OP_CHECKSEQUENCEVERIFY
#include "sync.h" // for LOCK
#include "uint256.h" // for uint256, operator!=, operator==, base_blob
test/txvalidationcache_tests.cpp should remove these lines:
- #include <core_io.h> // lines 16-16
- #include <miner.h> // lines 8-8
- #include <policy/policy.h> // lines 18-18
- #include <random.h> // lines 11-11
- #include <utiltime.h> // lines 15-15
- #include <boost/test/unit_test.hpp> // lines 20-20
The full include-list for test/txvalidationcache_tests.cpp:
#include <consensus/validation.h> // for CValidationState
#include <key.h> // for CKey
#include <keystore.h> // for CBasicKeyStore
#include <pubkey.h> // for CPubKey, CKeyID
#include <script/sign.h> // for ProduceSignature, UpdateInput, MutableTransactionSignatureCreator, SignatureData
#include <script/standard.h> // for GetScriptForDestination, CScriptID, GetScriptForWitness
#include <stdint.h> // for uint32_t
#include <test/test_bitcoin.h> // for TestChain100Setup
#include <txmempool.h> // for CTxMemPool
#include <validation.h> // for CScriptCheck, pcoinsTip, chainActive, cs_main, mempool, AcceptToMemoryPool, InitScriptExecutionCache
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0
#include <boost/test/unit_test_suite.hpp> // for BOOST_FIXTURE_TEST_CASE, BOOST_AUTO_TEST_SUITE, BOOST_AUTO_TEST_SUITE_END
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <memory> // for unique_ptr, shared_ptr
#include <vector> // for vector
#include "amount.h" // for CENT
#include "chain.h" // for CBlockIndex, CChain
#include "coins.h" // for CCoinsViewCache
#include "prevector.h" // for prevector<>::iterator, operator-
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CMutableTransaction, CTxIn, CTxOut, COutPoint, CTransaction, MakeTransactionRef, CTransactionRef
#include "script/interpreter.h" // for SignatureHash, SIGHASH_ALL, SCRIPT_VERIFY_P2SH, PrecomputedTransactionData, SCRIPT_VERIFY_WITNESS, SigVersion, SigVersion::BASE, SCRIPT_VERIFY_DERSIG, SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY, SCRIPT_VERIFY_CHECKSEQUENCEVERIFY, SCR...
#include "script/script.h" // for CScript, ToByteVector, OP_CHECKSIG, CScriptWitness, OP_DROP, OP_CHECKLOCKTIMEVERIFY, OP_CHECKSEQUENCEVERIFY
#include "sync.h" // for LOCK
#include "uint256.h" // for uint256, operator!=, operator==, base_blob
---
make[2]: *** [test/test_test_bitcoin-txvalidationcache_tests.o] Error 38
CXX wallet/test/test_test_bitcoin-wallet_tests.o
test/validation_block_tests.cpp should add these lines:
#include <assert.h> // for assert
#include <stdint.h> // for uint64_t
#include <algorithm> // for transform
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0, BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <boost/thread/detail/thread_group.hpp> // for thread_group
#include <iterator> // for back_insert_iterator, back_inserter
#include <memory> // for shared_ptr, shared_ptr<>::element_type, make_shared, unique_ptr
#include <type_traits> // for remove_reference<>::type, move
#include <vector> // for vector, __vector_base<>::value_type
#include "chain.h" // for CBlockIndex, CChain
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::REGTEST
#include "primitives/block.h" // for CBlock, CBlockHeader
#include "primitives/transaction.h" // for CTransactionRef, CTxIn, CTxOut, CMutableTransaction, MakeTransactionRef, CTransaction, COutPoint
#include "script/script.h" // for CScript, CScriptWitness, OP_TRUE
#include "sync.h" // for LOCK
#include "uint256.h" // for uint256
#include "utiltime.h" // for MilliSleep
test/validation_block_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 5-5
The full include-list for test/validation_block_tests.cpp:
#include <assert.h> // for assert
#include <chainparams.h> // for Params, CChainParams
#include <consensus/merkle.h> // for BlockMerkleRoot
#include <consensus/validation.h> // for CValidationState
#include <miner.h> // for BlockAssembler, CBlockTemplate
#include <pow.h> // for CheckProofOfWork
#include <random.h> // for GetRand
#include <stdint.h> // for uint64_t
#include <test/test_bitcoin.h> // for TestingSetup
#include <validation.h> // for ProcessNewBlock, ProcessNewBlockHeaders, chainActive, cs_main
#include <validationinterface.h> // for GetMainSignals, RegisterValidationInterface, SyncWithValidationInterfaceQueue, UnregisterValidationInterface, CMainSignals, CValidationInterface
#include <algorithm> // for transform
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0, BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <boost/thread/detail/thread_group.hpp> // for thread_group
#include <iterator> // for back_insert_iterator, back_inserter
#include <memory> // for shared_ptr, shared_ptr<>::element_type, make_shared, unique_ptr
#include <type_traits> // for remove_reference<>::type, move
#include <vector> // for vector, __vector_base<>::value_type
#include "chain.h" // for CBlockIndex, CChain
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::REGTEST
#include "primitives/block.h" // for CBlock, CBlockHeader
#include "primitives/transaction.h" // for CTransactionRef, CTxIn, CTxOut, CMutableTransaction, MakeTransactionRef, CTransaction, COutPoint
#include "script/script.h" // for CScript, CScriptWitness, OP_TRUE
#include "sync.h" // for LOCK
#include "uint256.h" // for uint256
#include "utiltime.h" // for MilliSleep
---
make[2]: *** [test/test_test_bitcoin-validation_block_tests.o] Error 36
CXX wallet/test/test_test_bitcoin-wallet_crypto_tests.o
test/uint256_tests.cpp should add these lines:
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <vector> // for vector
#include "serialize.h" // for GetSerializeSize
#include "streams.h" // for CDataStream
test/uint256_tests.cpp should remove these lines:
- #include <stdint.h> // lines 12-12
- #include <stdio.h> // lines 18-18
- #include <boost/test/unit_test.hpp> // lines 9-9
- #include <cmath> // lines 16-16
- #include <limits> // lines 15-15
The full include-list for test/uint256_tests.cpp:
#include <arith_uint256.h> // for UintToArith256, arith_uint256, operator==, ArithToUint256, base_uint
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <uint256.h> // for uint256, uint160, operator==, base_blob, operator<, uint256S, operator!=
#include <version.h> // for PROTOCOL_VERSION
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <cstring> // for memcmp
#include <iomanip> // for operator<<, setfill, setw
#include <sstream> // for basic_ostream, stringstream, hex
#include <string> // for operator==, operator+, string, allocator, operator!=
#include <vector> // for vector
#include "serialize.h" // for GetSerializeSize
#include "streams.h" // for CDataStream
---
make[2]: *** [test/test_test_bitcoin-uint256_tests.o] Error 18
CXX wallet/test/test_test_bitcoin-coinselector_tests.o
wallet/test/accounting_tests.cpp should add these lines:
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <list> // for list
#include <map> // for map, map<>::mapped_type
#include <memory> // for shared_ptr
#include <string> // for string, operator==
#include <type_traits> // for move
#include <vector> // for vector
#include "amount.h" // for CAmount
#include "primitives/transaction.h" // for CMutableTransaction, MakeTransactionRef
#include "sync.h" // for LOCK
#include "uint256.h" // for operator<, uint256
#include "wallet/walletdb.h" // for DBErrors, DBErrors::LOAD_OK
wallet/test/accounting_tests.cpp should remove these lines:
- #include <stdint.h> // lines 9-9
- #include <boost/test/unit_test.hpp> // lines 11-11
The full include-list for wallet/test/accounting_tests.cpp:
#include <wallet/test/wallet_test_fixture.h> // for WalletTestingSetup
#include <wallet/wallet.h> // for CAccountingEntry, CWalletTx, CWallet, mapValue_t
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <list> // for list
#include <map> // for map, map<>::mapped_type
#include <memory> // for shared_ptr
#include <string> // for string, operator==
#include <type_traits> // for move
#include <vector> // for vector
#include "amount.h" // for CAmount
#include "primitives/transaction.h" // for CMutableTransaction, MakeTransactionRef
#include "sync.h" // for LOCK
#include "uint256.h" // for operator<, uint256
#include "wallet/walletdb.h" // for DBErrors, DBErrors::LOAD_OK
---
make[2]: *** [wallet/test/test_test_bitcoin-accounting_tests.o] Error 23
CXX bench/bench_bench_bitcoin-checkblock.o
test/serialize_tests.cpp should add these lines:
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK, BOOST_CHECK_EXCEPTION, BOOST_CHECK_MESSAGE
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <boost/test/utils/lazy_ostream.hpp> // for operator<<, lazy_ostream_impl, lazy_ostream
#include <memory> // for shared_ptr
#include <ostream> // for operator<<, ios_base, ios_base::failure
#include <string> // for string, operator==
#include <type_traits> // for move
#include <vector> // for vector, vector<>::size_type
#include "primitives/transaction.h" // for CTransactionRef, MakeTransactionRef, operator==, CMutableTransaction, CTransaction
#include "support/allocators/zeroafterfree.h" // for CSerializeData
#include "uint256.h" // for operator==, uint256S, uint256, base_blob
#include "utilstrencodings.h" // for HexStr
#include "version.h" // for PROTOCOL_VERSION
test/serialize_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 13-13
The full include-list for test/serialize_tests.cpp:
#include <hash.h> // for Hash
#include <serialize.h> // for GetSerializeSize, CVarInt, ReadCompactSize, VARINT, ser_double_to_uint64, ser_float_to_uint32, ser_uint32_to_float, ser_uint64_to_double, VarIntMode, VarIntMode::NONNEGATIVE_SIGNED, SER_DISK, READWRITE, WriteCompactSize, ADD...
#include <stdint.h> // for uint64_t, int16_t, int32_t, int8_t, uint16_t, uint32_t, uint8_t, int64_t
#include <streams.h> // for CDataStream, CDataStream::size_type
#include <test/test_bitcoin.h> // for BasicTestingSetup
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK, BOOST_CHECK_EXCEPTION, BOOST_CHECK_MESSAGE
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <boost/test/utils/lazy_ostream.hpp> // for operator<<, lazy_ostream_impl, lazy_ostream
#include <cstring> // for strcmp, memcpy
#include <memory> // for shared_ptr
#include <ostream> // for operator<<, ios_base, ios_base::failure
#include <string> // for string, operator==
#include <type_traits> // for move
#include <vector> // for vector, vector<>::size_type
#include "primitives/transaction.h" // for CTransactionRef, MakeTransactionRef, operator==, CMutableTransaction, CTransaction
#include "support/allocators/zeroafterfree.h" // for CSerializeData
#include "uint256.h" // for operator==, uint256S, uint256, base_blob
#include "utilstrencodings.h" // for HexStr
#include "version.h" // for PROTOCOL_VERSION
---
make[2]: *** [test/test_test_bitcoin-serialize_tests.o] Error 31
GEN qt/bitcoin.moc
GEN qt/bitcoinamountfield.moc
GEN qt/intro.moc
GEN qt/overviewpage.moc
test/versionbits_tests.cpp should add these lines:
#include <assert.h> // for assert
#include <stdint.h> // for int64_t, int32_t, uint32_t
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK_MESSAGE, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0, BOOST_CHECK
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <map> // for map
#include <memory> // for unique_ptr
#include <vector> // for vector
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::MAIN
#include "tinyformat.h" // for strprintf
test/versionbits_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 12-12
The full include-list for test/versionbits_tests.cpp:
#include <assert.h> // for assert
#include <chain.h> // for CBlockIndex
#include <chainparams.h> // for CreateChainParams, CChainParams
#include <consensus/params.h> // for BIP9Deployment, Params, DEPLOYMENT_TESTDUMMY, DeploymentPos, MAX_VERSION_BITS_DEPLOYMENTS, BIP9Deployment::ALWAYS_ACTIVE
#include <stdint.h> // for int64_t, int32_t, uint32_t
#include <test/test_bitcoin.h> // for InsecureRandBits, TestingSetup
#include <validation.h> // for ComputeBlockVersion
#include <versionbits.h> // for ThresholdState, VERSIONBITS_LAST_OLD_BLOCK_VERSION, ThresholdState::ACTIVE, VersionBitsMask, AbstractThresholdConditionChecker, VERSIONBITS_TOP_BITS, VERSIONBITS_TOP_MASK, ThresholdConditionCache, ThresholdState::DEFINED
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK_MESSAGE, BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0, BOOST_CHECK
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <map> // for map
#include <memory> // for unique_ptr
#include <vector> // for vector
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::MAIN
#include "tinyformat.h" // for strprintf
---
make[2]: *** [test/test_test_bitcoin-versionbits_tests.o] Error 27
GEN qt/rpcconsole.moc
GEN qt/qrc_bitcoin_locale.cpp
CXX qt/test/qt_test_test_bitcoin_qt-moc_compattests.o
CXX qt/test/qt_test_test_bitcoin_qt-moc_rpcnestedtests.o
qt/test/moc_compattests.cpp should add these lines:
#include <QtCore/qglobal.h> // for QT_WARNING_DISABLE_DEPRECATED, QT_WARNING_POP, QT_WARNING_PUSH
#include <stddef.h> // for offsetof
#include <string.h> // for strcmp
#include "qglobal.h" // for qptrdiff, Q_UNUSED, QT_BEGIN_MOC_NAMESPACE, QT_END_MOC_NAMESPACE, uint
#include "qobject.h" // for QObject, QObject::staticMetaObject, QObjectData
#include "qobjectdefs.h" // for QMetaObject, QMetaObject::Call, QMetaObject::InvokeMetaMethod, Q_MOC_OUTPUT_REVISION, QMetaObject::RegisterMethodArgumentMetaType
#include "qscopedpointer.h" // for QScopedPointer
The full include-list for qt/test/moc_compattests.cpp:
#include <QtCore/qbytearray.h> // for QByteArrayData, Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET
#include <QtCore/qglobal.h> // for QT_WARNING_DISABLE_DEPRECATED, QT_WARNING_POP, QT_WARNING_PUSH
#include <QtCore/qmetatype.h> // for QMetaType, QMetaType::Void
#include <stddef.h> // for offsetof
#include <string.h> // for strcmp
#include "qglobal.h" // for qptrdiff, Q_UNUSED, QT_BEGIN_MOC_NAMESPACE, QT_END_MOC_NAMESPACE, uint
#include "qobject.h" // for QObject, QObject::staticMetaObject, QObjectData
#include "qobjectdefs.h" // for QMetaObject, QMetaObject::Call, QMetaObject::InvokeMetaMethod, Q_MOC_OUTPUT_REVISION, QMetaObject::RegisterMethodArgumentMetaType
#include "qscopedpointer.h" // for QScopedPointer
#include "qt/test/compattests.h" // for CompatTests
---
make[2]: *** [qt/test/qt_test_test_bitcoin_qt-moc_compattests.o] Error 9
CXX qt/test/qt_test_test_bitcoin_qt-moc_uritests.o
qt/test/moc_uritests.cpp should add these lines:
#include <QtCore/qglobal.h> // for QT_WARNING_DISABLE_DEPRECATED, QT_WARNING_POP, QT_WARNING_PUSH
#include <stddef.h> // for offsetof
#include <string.h> // for strcmp
#include "qglobal.h" // for qptrdiff, Q_UNUSED, QT_BEGIN_MOC_NAMESPACE, QT_END_MOC_NAMESPACE, uint
#include "qobject.h" // for QObject, QObject::staticMetaObject, QObjectData
#include "qobjectdefs.h" // for QMetaObject, QMetaObject::Call, QMetaObject::InvokeMetaMethod, Q_MOC_OUTPUT_REVISION, QMetaObject::RegisterMethodArgumentMetaType
#include "qscopedpointer.h" // for QScopedPointer
The full include-list for qt/test/moc_uritests.cpp:
#include <QtCore/qbytearray.h> // for QByteArrayData, Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET
#include <QtCore/qglobal.h> // for QT_WARNING_DISABLE_DEPRECATED, QT_WARNING_POP, QT_WARNING_PUSH
#include <QtCore/qmetatype.h> // for QMetaType, QMetaType::Void
#include <stddef.h> // for offsetof
#include <string.h> // for strcmp
#include "qglobal.h" // for qptrdiff, Q_UNUSED, QT_BEGIN_MOC_NAMESPACE, QT_END_MOC_NAMESPACE, uint
#include "qobject.h" // for QObject, QObject::staticMetaObject, QObjectData
#include "qobjectdefs.h" // for QMetaObject, QMetaObject::Call, QMetaObject::InvokeMetaMethod, Q_MOC_OUTPUT_REVISION, QMetaObject::RegisterMethodArgumentMetaType
#include "qscopedpointer.h" // for QScopedPointer
#include "qt/test/uritests.h" // for URITests
---
make[2]: *** [qt/test/qt_test_test_bitcoin_qt-moc_uritests.o] Error 9
CXX qt/test/qt_test_test_bitcoin_qt-moc_addressbooktests.o
wallet/test/wallet_crypto_tests.cpp should add these lines:
#include <stdint.h> // for uint32_t
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK, BOOST_CHECK_MESSAGE
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <string> // for operator+, string, basic_string<>::const_iterator
#include <type_traits> // for enable_if<>::type
#include "random.h" // for GetRandHash, GetRandBytes
#include "support/allocators/secure.h" // for SecureString
#include "uint256.h" // for uint256
wallet/test/wallet_crypto_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 12-12
The full include-list for wallet/test/wallet_crypto_tests.cpp:
#include <stdint.h> // for uint32_t
#include <test/test_bitcoin.h> // for InsecureRand32, BasicTestingSetup
#include <utilstrencodings.h> // for ParseHex, HexStr
#include <wallet/crypter.h> // for CCrypter, CKeyingMaterial, WALLET_CRYPTO_SALT_SIZE
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/test/tools/old/interface.hpp> // for BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_CHECK, BOOST_CHECK_MESSAGE
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <cstring> // for memcmp
#include <string> // for operator+, string, basic_string<>::const_iterator
#include <type_traits> // for enable_if<>::type
#include <vector> // for vector, vector<>::const_iterator, allocator, vector<>::value_type, operator==
#include "random.h" // for GetRandHash, GetRandBytes
#include "support/allocators/secure.h" // for SecureString
#include "uint256.h" // for uint256
---
make[2]: *** [wallet/test/test_test_bitcoin-wallet_crypto_tests.o] Error 17
CXX qt/test/qt_test_test_bitcoin_qt-moc_paymentservertests.o
qt/test/moc_addressbooktests.cpp should add these lines:
#include <QtCore/qglobal.h> // for QT_WARNING_DISABLE_DEPRECATED, QT_WARNING_POP, QT_WARNING_PUSH
#include <stddef.h> // for offsetof
#include <string.h> // for strcmp
#include "qglobal.h" // for qptrdiff, Q_UNUSED, QT_BEGIN_MOC_NAMESPACE, QT_END_MOC_NAMESPACE, uint
#include "qobject.h" // for QObject, QObject::staticMetaObject, QObjectData
#include "qobjectdefs.h" // for QMetaObject, QMetaObject::Call, QMetaObject::InvokeMetaMethod, Q_MOC_OUTPUT_REVISION, QMetaObject::RegisterMethodArgumentMetaType
#include "qscopedpointer.h" // for QScopedPointer
The full include-list for qt/test/moc_addressbooktests.cpp:
#include <QtCore/qbytearray.h> // for QByteArrayData, Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET
#include <QtCore/qglobal.h> // for QT_WARNING_DISABLE_DEPRECATED, QT_WARNING_POP, QT_WARNING_PUSH
#include <QtCore/qmetatype.h> // for QMetaType, QMetaType::Void
#include <stddef.h> // for offsetof
#include <string.h> // for strcmp
#include "qglobal.h" // for qptrdiff, Q_UNUSED, QT_BEGIN_MOC_NAMESPACE, QT_END_MOC_NAMESPACE, uint
#include "qobject.h" // for QObject, QObject::staticMetaObject, QObjectData
#include "qobjectdefs.h" // for QMetaObject, QMetaObject::Call, QMetaObject::InvokeMetaMethod, Q_MOC_OUTPUT_REVISION, QMetaObject::RegisterMethodArgumentMetaType
#include "qscopedpointer.h" // for QScopedPointer
#include "qt/test/addressbooktests.h" // for AddressBookTests
---
make[2]: *** [qt/test/qt_test_test_bitcoin_qt-moc_addressbooktests.o] Error 9
CXX qt/test/qt_test_test_bitcoin_qt-moc_wallettests.o
qt/test/moc_rpcnestedtests.cpp should add these lines:
#include <QtCore/qglobal.h> // for QT_WARNING_DISABLE_DEPRECATED, QT_WARNING_POP, QT_WARNING_PUSH
#include <stddef.h> // for offsetof
#include <string.h> // for strcmp
#include <sys/types.h> // for uint
#include "qglobal.h" // for qptrdiff, Q_UNUSED, QT_BEGIN_MOC_NAMESPACE, QT_END_MOC_NAMESPACE
#include "qobject.h" // for QObject, QObject::staticMetaObject, QObjectData
#include "qobjectdefs.h" // for QMetaObject, QMetaObject::Call, QMetaObject::InvokeMetaMethod, Q_MOC_OUTPUT_REVISION, QMetaObject::RegisterMethodArgumentMetaType
#include "qscopedpointer.h" // for QScopedPointer
The full include-list for qt/test/moc_rpcnestedtests.cpp:
#include <QtCore/qbytearray.h> // for QByteArrayData, Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET
#include <QtCore/qglobal.h> // for QT_WARNING_DISABLE_DEPRECATED, QT_WARNING_POP, QT_WARNING_PUSH
#include <QtCore/qmetatype.h> // for QMetaType, QMetaType::Void
#include <stddef.h> // for offsetof
#include <string.h> // for strcmp
#include <sys/types.h> // for uint
#include "qglobal.h" // for qptrdiff, Q_UNUSED, QT_BEGIN_MOC_NAMESPACE, QT_END_MOC_NAMESPACE
#include "qobject.h" // for QObject, QObject::staticMetaObject, QObjectData
#include "qobjectdefs.h" // for QMetaObject, QMetaObject::Call, QMetaObject::InvokeMetaMethod, Q_MOC_OUTPUT_REVISION, QMetaObject::RegisterMethodArgumentMetaType
#include "qscopedpointer.h" // for QScopedPointer
#include "qt/test/rpcnestedtests.h" // for RPCNestedTests
---
make[2]: *** [qt/test/qt_test_test_bitcoin_qt-moc_rpcnestedtests.o] Error 10
CXX qt/qt_bitcoin_qt-bitcoin.o
bench/checkblock.cpp should add these lines:
#include <assert.h> // for assert
#include <functional> // for __base
#include <memory> // for unique_ptr
#include <string> // for string
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::MAIN
#include "primitives/block.h" // for CBlock
#include "serialize.h" // for SER_NETWORK
#include "version.h" // for PROTOCOL_VERSION
The full include-list for bench/checkblock.cpp:
#include <assert.h> // for assert
#include <bench/bench.h> // for BENCHMARK, BenchFunction, State
#include <bench/data/block413567.raw.h> // for block413567
#include <chainparams.h> // for CreateChainParams, CChainParams
#include <consensus/validation.h> // for CValidationState
#include <streams.h> // for CDataStream
#include <validation.h> // for CheckBlock
#include <functional> // for __base
#include <memory> // for unique_ptr
#include <string> // for string
#include "chainparamsbase.h" // for CBaseChainParams, CBaseChainParams::MAIN
#include "primitives/block.h" // for CBlock
#include "serialize.h" // for SER_NETWORK
#include "version.h" // for PROTOCOL_VERSION
---
make[2]: *** [bench/bench_bench_bitcoin-checkblock.o] Error 10
OBJCXX qt/qt_bitcoin_qt-macdockiconhandler.o
qt/test/moc_wallettests.cpp should add these lines:
#include <QtCore/qglobal.h> // for QT_WARNING_DISABLE_DEPRECATED, QT_WARNING_POP, QT_WARNING_PUSH
#include <stddef.h> // for offsetof
#include <string.h> // for strcmp
#include "qglobal.h" // for qptrdiff, Q_UNUSED, QT_BEGIN_MOC_NAMESPACE, QT_END_MOC_NAMESPACE, uint
#include "qobject.h" // for QObject, QObject::staticMetaObject, QObjectData
#include "qobjectdefs.h" // for QMetaObject, QMetaObject::Call, QMetaObject::InvokeMetaMethod, Q_MOC_OUTPUT_REVISION, QMetaObject::RegisterMethodArgumentMetaType
#include "qscopedpointer.h" // for QScopedPointer
The full include-list for qt/test/moc_wallettests.cpp:
#include <QtCore/qbytearray.h> // for QByteArrayData, Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET
#include <QtCore/qglobal.h> // for QT_WARNING_DISABLE_DEPRECATED, QT_WARNING_POP, QT_WARNING_PUSH
#include <QtCore/qmetatype.h> // for QMetaType, QMetaType::Void
#include <stddef.h> // for offsetof
#include <string.h> // for strcmp
#include "qglobal.h" // for qptrdiff, Q_UNUSED, QT_BEGIN_MOC_NAMESPACE, QT_END_MOC_NAMESPACE, uint
#include "qobject.h" // for QObject, QObject::staticMetaObject, QObjectData
#include "qobjectdefs.h" // for QMetaObject, QMetaObject::Call, QMetaObject::InvokeMetaMethod, Q_MOC_OUTPUT_REVISION, QMetaObject::RegisterMethodArgumentMetaType
#include "qscopedpointer.h" // for QScopedPointer
#include "qt/test/wallettests.h" // for WalletTests
---
make[2]: *** [qt/test/qt_test_test_bitcoin_qt-moc_wallettests.o] Error 9
OBJCXX qt/qt_bitcoin_qt-macnotificationhandler.o
CXX qt/qt_libbitcoinqt_a-bantablemodel.o
CXX qt/qt_libbitcoinqt_a-bitcoinaddressvalidator.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 77821 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -DQT_NO_KEYWORDS -I/usr/local/Cellar/qt/5.10.0_1/include/QtNetwork -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtWidgets -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtGui -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtCore -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtTest -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtCore -I/usr/local/Cellar/qt/5.10.0_1/include -D_THREAD_SAFE -I/usr/local/Cellar/protobuf/3.5.1/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT qt/test/qt_test_test_bitcoin_qt-moc_paymentservertests.o -MD -MP -MF qt/test/.deps/qt_test_test_bitcoin_qt-moc_paymentservertests.Tpo -c -o qt/test/qt_test_test_bitcoin_qt-moc_paymentservertests.o `test -f 'qt/test/moc_paymentservertests.cpp' || echo './'`qt/test/moc_paymentservertests.cpp
make[2]: *** [qt/test/qt_test_test_bitcoin_qt-moc_paymentservertests.o] Error 134
CXX qt/qt_libbitcoinqt_a-bitcoinamountfield.o
wallet/test/wallet_tests.cpp should add these lines:
#include <assert.h> // for assert
#include <stddef.h> // for size_t
#include <boost/filesystem/path.hpp> // for operator/, path
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0, BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_FIXTURE_TEST_CASE, BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <boost/variant/get.hpp> // for get
#include <map> // for map, __map_iterator, operator!=, map<>::mapped_type
#include <string> // for string
#include <unordered_map> // for __hash_map_iterator
#include "amount.h" // for COIN, CAmount
#include "chain.h" // for CBlockIndex, CChain, CDiskBlockPos, TIMESTAMP_WINDOW, CBlockFileInfo
#include "key.h" // for CKey
#include "prevector.h" // for operator-
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CTransactionRef, CMutableTransaction, CTransaction, MakeTransactionRef, COutPoint
#include "pubkey.h" // for CKeyID, CPubKey
#include "random.h" // for GetRandHash
#include "script/script.h" // for CScript
#include "script/standard.h" // for GetScriptForRawPubKey, CTxDestination
#include "sync.h" // for LOCK, LOCK2
#include "tinyformat.h" // for strprintf
#include "uint256.h" // for operator<, uint256, operator==
#include "util.h" // for MakeUnique
#include "utilstrencodings.h" // for HexStr
#include "utiltime.h" // for SetMockTime
#include "wallet/walletdb.h" // for WalletDatabase, CKeyMetadata
wallet/test/wallet_tests.cpp should remove these lines:
- #include <boost/test/unit_test.hpp> // lines 20-20
- #include <set> // lines 8-8
The full include-list for wallet/test/wallet_tests.cpp:
#include <assert.h> // for assert
#include <consensus/validation.h> // for CValidationState
#include <rpc/server.h> // for JSONRPCRequest
#include <stddef.h> // for size_t
#include <stdint.h> // for int64_t, uint32_t
#include <test/test_bitcoin.h> // for TestChain100Setup
#include <univalue.h> // for UniValue
#include <validation.h> // for cs_main, chainActive, GetBlockFileInfo, PruneOneBlockFile, UnlinkPrunedFiles, BlockMap, MAX_BLOCKFILE_SIZE, mapBlockIndex
#include <wallet/coincontrol.h> // for CCoinControl
#include <wallet/test/wallet_test_fixture.h> // for WalletTestingSetup
#include <wallet/wallet.h> // for CWallet, CWalletTx, CRecipient, AddWallet, COutput, RemoveWallet, WalletRescanReserver, CReserveKey
#include <boost/filesystem/path.hpp> // for operator/, path
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK_EQUAL, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0, BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2
#include <boost/test/unit_test_suite.hpp> // for BOOST_FIXTURE_TEST_CASE, BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <boost/variant/get.hpp> // for get
#include <map> // for map, __map_iterator, operator!=, map<>::mapped_type
#include <memory> // for unique_ptr, shared_ptr, make_shared
#include <string> // for string
#include <unordered_map> // for __hash_map_iterator
#include <utility> // for pair
#include <vector> // for vector
#include "amount.h" // for COIN, CAmount
#include "chain.h" // for CBlockIndex, CChain, CDiskBlockPos, TIMESTAMP_WINDOW, CBlockFileInfo
#include "key.h" // for CKey
#include "prevector.h" // for operator-
#include "primitives/block.h" // for CBlock
#include "primitives/transaction.h" // for CTransactionRef, CMutableTransaction, CTransaction, MakeTransactionRef, COutPoint
#include "pubkey.h" // for CKeyID, CPubKey
#include "random.h" // for GetRandHash
#include "script/script.h" // for CScript
#include "script/standard.h" // for GetScriptForRawPubKey, CTxDestination
#include "sync.h" // for LOCK, LOCK2
#include "tinyformat.h" // for strprintf
#include "uint256.h" // for operator<, uint256, operator==
#include "util.h" // for MakeUnique
#include "utilstrencodings.h" // for HexStr
#include "utiltime.h" // for SetMockTime
#include "wallet/walletdb.h" // for WalletDatabase, CKeyMetadata
---
make[2]: *** [wallet/test/test_test_bitcoin-wallet_tests.o] Error 45
CXX qt/qt_libbitcoinqt_a-bitcoingui.o
Cycle in include-mapping:
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 77863 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -DQT_NO_KEYWORDS -I/usr/local/Cellar/qt/5.10.0_1/include/QtNetwork -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtWidgets -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtGui -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtCore -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtDBus -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtCore -I/usr/local/Cellar/qt/5.10.0_1/include -D_THREAD_SAFE -I/usr/local/Cellar/protobuf/3.5.1/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT qt/qt_libbitcoinqt_a-bitcoinaddressvalidator.o -MD -MP -MF qt/.deps/qt_libbitcoinqt_a-bitcoinaddressvalidator.Tpo -c -o qt/qt_libbitcoinqt_a-bitcoinaddressvalidator.o `test -f 'qt/bitcoinaddressvalidator.cpp' || echo './'`qt/bitcoinaddressvalidator.cpp
make[2]: *** [qt/qt_libbitcoinqt_a-bitcoinaddressvalidator.o] Error 134
CXX qt/qt_libbitcoinqt_a-bitcoinunits.o
qt/bitcoinamountfield.h should add these lines:
#include "qglobal.h" // for QT_BEGIN_NAMESPACE, QT_END_NAMESPACE
#include "qobjectdefs.h" // for Q_OBJECT, Q_PROPERTY, Q_SIGNALS, Q_SLOTS
#include "qstring.h" // for QString
#include "qwidget.h" // for QWidget
class QEvent;
class QObject;
qt/bitcoinamountfield.h should remove these lines:
- #include <QWidget> // lines 10-10
The full include-list for qt/bitcoinamountfield.h:
#include <amount.h> // for CAmount
#include "qglobal.h" // for QT_BEGIN_NAMESPACE, QT_END_NAMESPACE
#include "qobjectdefs.h" // for Q_OBJECT, Q_PROPERTY, Q_SIGNALS, Q_SLOTS
#include "qstring.h" // for QString
#include "qwidget.h" // for QWidget
class AmountSpinBox; // lines 12-12
class QEvent;
class QObject;
class QValueComboBox; // lines 15-15
---
qt/bitcoinamountfield.cpp should add these lines:
#include "amount.h" // for CAmount
#include "qabstractspinbox.h" // for QAbstractSpinBox::StepEnabled, QAbstractSpinBox, QAbstractSpinBox::StepUpEnabled, QAbstractSpinBox::StepDownEnabled, QAbstractSpinBox::StepNone
#include "qapplication.h" // for QApplication
#include "qboxlayout.h" // for QHBoxLayout
#include "qcoreevent.h" // for QEvent, QEvent::FocusIn, QEvent::KeyPress, QEvent::KeyRelease
#include "qevent.h" // for QKeyEvent
#include "qfontmetrics.h" // for QFontMetrics
#include "qlineedit.h" // for QLineEdit
#include "qlocale.h" // for QLocale
#include "qnamespace.h" // for AlignRight, Key_Comma, Key_Period, TabFocus, ToolTipRole
#include "qrect.h" // for QRect
#include "qsize.h" // for QSize, operator+, operator-
#include "qstyle.h" // for QStyle, QStyle::CC_SpinBox, QStyle::SC_SpinBoxEditField, QStyle::CT_SpinBox
#include "qstyleoption.h" // for QStyleOptionSpinBox
#include "qvalidator.h" // for QValidator, QValidator::Intermediate, QValidator::Invalid, QValidator::State
#include "qvariant.h" // for QVariant
class QObject;
qt/bitcoinamountfield.cpp should remove these lines:
- #include <QAbstractSpinBox> // lines 12-12
- #include <QApplication> // lines 11-11
- #include <QHBoxLayout> // lines 13-13
- #include <QKeyEvent> // lines 14-14
- #include <QLineEdit> // lines 15-15
- #include <qt/bitcoinamountfield.moc> // lines 191-191
The full include-list for qt/bitcoinamountfield.cpp:
#include <qt/bitcoinamountfield.h>
#include <qt/bitcoinunits.h> // for BitcoinUnits, BitcoinUnits::separatorAlways, BitcoinUnits::BTC, BitcoinUnits::UnitRole
#include <qt/guiconstants.h> // for STYLE_INVALID
#include <qt/qvaluecombobox.h> // for QValueComboBox
#include "amount.h" // for CAmount
#include "qabstractspinbox.h" // for QAbstractSpinBox::StepEnabled, QAbstractSpinBox, QAbstractSpinBox::StepUpEnabled, QAbstractSpinBox::StepDownEnabled, QAbstractSpinBox::StepNone
#include "qapplication.h" // for QApplication
#include "qboxlayout.h" // for QHBoxLayout
#include "qcoreevent.h" // for QEvent, QEvent::FocusIn, QEvent::KeyPress, QEvent::KeyRelease
#include "qevent.h" // for QKeyEvent
#include "qfontmetrics.h" // for QFontMetrics
#include "qlineedit.h" // for QLineEdit
#include "qlocale.h" // for QLocale
#include "qnamespace.h" // for AlignRight, Key_Comma, Key_Period, TabFocus, ToolTipRole
#include "qrect.h" // for QRect
#include "qsize.h" // for QSize, operator+, operator-
#include "qstyle.h" // for QStyle, QStyle::CC_SpinBox, QStyle::SC_SpinBoxEditField, QStyle::CT_SpinBox
#include "qstyleoption.h" // for QStyleOptionSpinBox
#include "qvalidator.h" // for QValidator, QValidator::Intermediate, QValidator::Invalid, QValidator::State
#include "qvariant.h" // for QVariant
class QObject;
---
make[2]: *** [qt/qt_libbitcoinqt_a-bitcoinamountfield.o] Error 32
CXX qt/qt_libbitcoinqt_a-clientmodel.o
qt/bitcoinunits.h should add these lines:
#include "qabstractitemmodel.h" // for QModelIndex (ptr only), QAbstractListModel
#include "qchar.h" // for QChar
#include "qglobal.h" // for qint64
#include "qlist.h" // for QList
#include "qnamespace.h" // for UserRole
#include "qobjectdefs.h" // for Q_OBJECT
#include "qstring.h" // for QString
#include "qvariant.h" // for QVariant
class QObject;
qt/bitcoinunits.h should remove these lines:
- #include <QAbstractListModel> // lines 10-10
- #include <QString> // lines 11-11
The full include-list for qt/bitcoinunits.h:
#include <amount.h> // for CAmount
#include "qabstractitemmodel.h" // for QModelIndex (ptr only), QAbstractListModel
#include "qchar.h" // for QChar
#include "qglobal.h" // for qint64
#include "qlist.h" // for QList
#include "qnamespace.h" // for UserRole
#include "qobjectdefs.h" // for Q_OBJECT
#include "qstring.h" // for QString
#include "qvariant.h" // for QVariant
class QObject;
---
qt/bitcoinunits.cpp should add these lines:
#include "amount.h" // for CAmount, MAX_MONEY
#include "qobject.h" // for QObject
#include "qstringlist.h" // for QStringList
qt/bitcoinunits.cpp should remove these lines:
- #include <primitives/transaction.h> // lines 7-7
- #include <QStringList> // lines 9-9
The full include-list for qt/bitcoinunits.cpp:
#include <qt/bitcoinunits.h>
#include "amount.h" // for CAmount, MAX_MONEY
#include "qobject.h" // for QObject
#include "qstringlist.h" // for QStringList
---
make[2]: *** [qt/qt_libbitcoinqt_a-bitcoinunits.o] Error 18
CXX qt/qt_libbitcoinqt_a-csvmodelwriter.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 77828 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -DQT_NO_KEYWORDS -I/usr/local/Cellar/qt/5.10.0_1/include/QtNetwork -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtWidgets -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtGui -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtCore -I/usr/local/Cellar/qt/5.10.0_1/include -D_THREAD_SAFE -I/usr/local/Cellar/protobuf/3.5.1/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT qt/qt_bitcoin_qt-bitcoin.o -MD -MP -MF qt/.deps/qt_bitcoin_qt-bitcoin.Tpo -c -o qt/qt_bitcoin_qt-bitcoin.o `test -f 'qt/bitcoin.cpp' || echo './'`qt/bitcoin.cpp
make[2]: *** [qt/qt_bitcoin_qt-bitcoin.o] Error 134
CXX qt/qt_libbitcoinqt_a-guiutil.o
qt/csvmodelwriter.h should add these lines:
#include "qglobal.h" // for QT_BEGIN_NAMESPACE, QT_END_NAMESPACE
#include "qlist.h" // for QList
#include "qnamespace.h" // for EditRole
#include "qobject.h" // for QObject
#include "qobjectdefs.h" // for Q_OBJECT
#include "qstring.h" // for QString
qt/csvmodelwriter.h should remove these lines:
- #include <QList> // lines 8-8
- #include <QObject> // lines 9-9
The full include-list for qt/csvmodelwriter.h:
#include "qglobal.h" // for QT_BEGIN_NAMESPACE, QT_END_NAMESPACE
#include "qlist.h" // for QList
#include "qnamespace.h" // for EditRole
#include "qobject.h" // for QObject
#include "qobjectdefs.h" // for Q_OBJECT
#include "qstring.h" // for QString
class QAbstractItemModel; // lines 12-12
---
qt/csvmodelwriter.cpp should add these lines:
#include "qabstractitemmodel.h" // for QAbstractItemModel, QModelIndex
#include "qfile.h" // for QFile
#include "qfiledevice.h" // for QFileDevice::NoError
#include "qiodevice.h" // for operator|, QIODevice, QIODevice::Text, QIODevice::WriteOnly
#include "qtextstream.h" // for QTextStream
#include "qvariant.h" // for QVariant
qt/csvmodelwriter.cpp should remove these lines:
- #include <QAbstractItemModel> // lines 7-7
- #include <QFile> // lines 8-8
- #include <QTextStream> // lines 9-9
The full include-list for qt/csvmodelwriter.cpp:
#include <qt/csvmodelwriter.h>
#include "qabstractitemmodel.h" // for QAbstractItemModel, QModelIndex
#include "qfile.h" // for QFile
#include "qfiledevice.h" // for QFileDevice::NoError
#include "qiodevice.h" // for operator|, QIODevice, QIODevice::Text, QIODevice::WriteOnly
#include "qtextstream.h" // for QTextStream
#include "qvariant.h" // for QVariant
---
make[2]: *** [qt/qt_libbitcoinqt_a-csvmodelwriter.o] Error 19
CXX qt/qt_libbitcoinqt_a-intro.o
qt/bantablemodel.h should add these lines:
#include "addrdb.h" // for CBanEntry
#include "netaddress.h" // for CSubNet
#include "qabstractitemmodel.h" // for QAbstractTableModel, QModelIndex
#include "qnamespace.h" // for SortOrder, ItemFlags, Orientation
#include "qobjectdefs.h" // for Q_OBJECT, Q_SLOTS
#include "qstring.h" // for QString
#include "qstringlist.h" // for QStringList
#include "qvariant.h" // for QVariant
class QObject;
qt/bantablemodel.h should remove these lines:
- #include <net.h> // lines 8-8
- #include <QAbstractTableModel> // lines 12-12
- #include <QStringList> // lines 13-13
The full include-list for qt/bantablemodel.h:
#include <memory> // for unique_ptr
#include "addrdb.h" // for CBanEntry
#include "netaddress.h" // for CSubNet
#include "qabstractitemmodel.h" // for QAbstractTableModel, QModelIndex
#include "qnamespace.h" // for SortOrder, ItemFlags, Orientation
#include "qobjectdefs.h" // for Q_OBJECT, Q_SLOTS
#include "qstring.h" // for QString
#include "qstringlist.h" // for QStringList
#include "qvariant.h" // for QVariant
class BanTablePriv; // lines 16-16
class ClientModel; // lines 15-15
class QObject;
namespace interfaces { class Node; } // lines 19-19
---
qt/bantablemodel.cpp should add these lines:
#include <string> // for string
#include <type_traits> // for swap
#include <utility> // for pair
#include "qalgorithms.h" // for qStableSort
#include "qdatetime.h" // for QDateTime
#include "qglobal.h" // for Q_UNUSED
#include "qlist.h" // for QList<>::iterator, QList
qt/bantablemodel.cpp should remove these lines:
- #include <qt/guiconstants.h> // lines 8-8
- #include <qt/guiutil.h> // lines 9-9
- #include <sync.h> // lines 12-12
- #include <utiltime.h> // lines 13-13
- #include <QDebug> // lines 15-15
- #include <QList> // lines 16-16
The full include-list for qt/bantablemodel.cpp:
#include <qt/bantablemodel.h>
#include <interfaces/node.h> // for Node
#include <qt/clientmodel.h> // for ClientModel
#include <string> // for string
#include <type_traits> // for swap
#include <utility> // for pair
#include "qalgorithms.h" // for qStableSort
#include "qdatetime.h" // for QDateTime
#include "qglobal.h" // for Q_UNUSED
#include "qlist.h" // for QList<>::iterator, QList
---
make[2]: *** [qt/qt_libbitcoinqt_a-bantablemodel.o] Error 27
CXX qt/qt_libbitcoinqt_a-modaloverlay.o
qt/modaloverlay.h should add these lines:
#include "qdatetime.h" // for QDateTime
#include "qglobal.h" // for qint64
#include "qobjectdefs.h" // for Q_OBJECT, Q_SLOTS
#include "qpair.h" // for QPair
#include "qstring.h" // for QString
#include "qvector.h" // for QVector
#include "qwidget.h" // for QWidget
class QEvent;
class QObject;
qt/modaloverlay.h should remove these lines:
- #include <QDateTime> // lines 8-8
- #include <QWidget> // lines 9-9
The full include-list for qt/modaloverlay.h:
#include "qdatetime.h" // for QDateTime
#include "qglobal.h" // for qint64
#include "qobjectdefs.h" // for Q_OBJECT, Q_SLOTS
#include "qpair.h" // for QPair
#include "qstring.h" // for QString
#include "qvector.h" // for QVector
#include "qwidget.h" // for QWidget
class QEvent;
class QObject;
namespace Ui { class ModalOverlay; } // lines 15-15
---
qt/modaloverlay.cpp should add these lines:
#include "consensus/params.h" // for Params
#include "qabstractanimation.h" // for QAbstractAnimation, QAbstractAnimation::DeleteWhenStopped
#include "qcoreevent.h" // for QEvent, QEvent::ChildAdded, QEvent::ParentAboutToChange, QEvent::ParentChange, QEvent::Resize
#include "qeasingcurve.h" // for QEasingCurve, QEasingCurve::OutQuad
#include "qevent.h" // for QResizeEvent
#include "qlabel.h" // for QLabel
#include "qobject.h" // for QObject
#include "qpoint.h" // for QPoint
#include "qprogressbar.h" // for QProgressBar
#include "qpropertyanimation.h" // for QPropertyAnimation
#include "qpushbutton.h" // for QPushButton
qt/modaloverlay.cpp should remove these lines:
- #include <QPropertyAnimation> // lines 13-13
- #include <QResizeEvent> // lines 12-12
The full include-list for qt/modaloverlay.cpp:
#include <qt/modaloverlay.h>
#include <chainparams.h> // for Params, CChainParams
#include <qt/forms/ui_modaloverlay.h> // for ModalOverlay
#include <qt/guiutil.h> // for formatNiceTimeOffset
#include "consensus/params.h" // for Params
#include "qabstractanimation.h" // for QAbstractAnimation, QAbstractAnimation::DeleteWhenStopped
#include "qcoreevent.h" // for QEvent, QEvent::ChildAdded, QEvent::ParentAboutToChange, QEvent::ParentChange, QEvent::Resize
#include "qeasingcurve.h" // for QEasingCurve, QEasingCurve::OutQuad
#include "qevent.h" // for QResizeEvent
#include "qlabel.h" // for QLabel
#include "qobject.h" // for QObject
#include "qpoint.h" // for QPoint
#include "qprogressbar.h" // for QProgressBar
#include "qpropertyanimation.h" // for QPropertyAnimation
#include "qpushbutton.h" // for QPushButton
---
make[2]: *** [qt/qt_libbitcoinqt_a-modaloverlay.o] Error 26
CXX qt/qt_libbitcoinqt_a-networkstyle.o
qt/bitcoingui.h should add these lines:
#include <QtCore/qglobal.h> // for Q_OS_MAC
#include <string> // for string
#include "qglobal.h" // for QT_BEGIN_NAMESPACE, QT_END_NAMESPACE
#include "qlabel.h" // for QLabel
#include "qmainwindow.h" // for QMainWindow
#include "qobjectdefs.h" // for Q_SLOTS, Q_OBJECT, Q_SIGNALS
#include "qstring.h" // for QString
class QCloseEvent;
class QDateTime;
class QDragEnterEvent;
class QDropEvent;
class QEvent;
class QMenu;
class QMenuBar;
class QMouseEvent;
class QObject;
class QPoint;
class QShowEvent;
class QSystemTrayIcon;
class QToolBar;
class QWidget;
qt/bitcoingui.h should remove these lines:
- #include <QLabel> // lines 14-14
- #include <QMainWindow> // lines 15-15
- #include <QMap> // lines 16-16
- #include <QMenu> // lines 17-17
- #include <QPoint> // lines 18-18
- #include <QSystemTrayIcon> // lines 19-19
The full include-list for qt/bitcoingui.h:
#include <QtCore/qglobal.h> // for Q_OS_MAC
#include <amount.h> // for CAmount
#include <config/bitcoin-config.h> // for ENABLE_WALLET
#include <memory> // for unique_ptr
#include <string> // for string
#include "qglobal.h" // for QT_BEGIN_NAMESPACE, QT_END_NAMESPACE
#include "qlabel.h" // for QLabel
#include "qmainwindow.h" // for QMainWindow
#include "qobjectdefs.h" // for Q_SLOTS, Q_OBJECT, Q_SIGNALS
#include "qstring.h" // for QString
class ClientModel; // lines 23-23
class HelpMessageDialog; // lines 33-33
class ModalOverlay; // lines 34-34
class NetworkStyle; // lines 24-24
class Notificator; // lines 25-25
class OptionsModel; // lines 26-26
class PlatformStyle; // lines 27-27
class QAction; // lines 42-42
class QCloseEvent;
class QComboBox; // lines 43-43
class QDateTime;
class QDragEnterEvent;
class QDropEvent;
class QEvent;
class QMenu;
class QMenuBar;
class QMouseEvent;
class QObject;
class QPoint;
class QProgressBar; // lines 44-44
class QProgressDialog; // lines 45-45
class QShowEvent;
class QSystemTrayIcon;
class QToolBar;
class QWidget;
class RPCConsole; // lines 28-28
class SendCoinsRecipient; // lines 29-29
class UnitDisplayStatusBarControl; // lines 30-30
class WalletFrame; // lines 31-31
class WalletModel; // lines 32-32
namespace interfaces { class Handler; } // lines 37-37
namespace interfaces { class Node; } // lines 38-38
---
qt/clientmodel.h should add these lines:
#include <stddef.h> // for size_t
#include <stdint.h> // for int64_t
#include <string> // for string
#include "qglobal.h" // for quint64, QT_BEGIN_NAMESPACE, QT_END_NAMESPACE
#include "qobject.h" // for QObject
#include "qobjectdefs.h" // for Q_OBJECT, Q_SIGNALS, Q_SLOTS
#include "qstring.h" // for QString
class QDateTime;
qt/clientmodel.h should remove these lines:
- #include <QDateTime> // lines 9-9
- #include <QObject> // lines 8-8
- class CBlockIndex; // lines 18-18
The full include-list for qt/clientmodel.h:
#include <stddef.h> // for size_t
#include <stdint.h> // for int64_t
#include <atomic> // for atomic
#include <memory> // for unique_ptr
#include <string> // for string
#include "qglobal.h" // for quint64, QT_BEGIN_NAMESPACE, QT_END_NAMESPACE
#include "qobject.h" // for QObject
#include "qobjectdefs.h" // for Q_OBJECT, Q_SIGNALS, Q_SLOTS
#include "qstring.h" // for QString
class BanTableModel; // lines 14-14
class OptionsModel; // lines 15-15
class PeerTableModel; // lines 16-16
class QDateTime;
class QTimer; // lines 26-26
namespace interfaces { class Handler; } // lines 21-21
namespace interfaces { class Node; } // lines 22-22
---
qt/clientmodel.cpp should add these lines:
#include <QtCore/qglobal.h> // for qDebug
#include <boost/bind/arg.hpp> // for arg
#include <boost/bind/bind.hpp> // for bind, bind_t
#include <boost/bind/placeholders.hpp> // for _1, _2, _3, _4
#include <boost/cstdint.hpp> // for int64_t
#include <cstdint> // for int64_t
#include <functional> // for __base
#include "config/bitcoin-config.h" // for CLIENT_VERSION_IS_RELEASE
#include "netaddress.h" // for Network, CService
#include "qdatetime.h" // for QDateTime
#include "qdebug.h" // for QDebug
#include "qnamespace.h" // for QueuedConnection
#include "qtimer.h" // for QTimer
#include "utiltime.h" // for GetTimeMillis
qt/clientmodel.cpp should remove these lines:
- #include <chain.h> // lines 12-12
- #include <chainparams.h> // lines 13-13
- #include <checkpoints.h> // lines 14-14
- #include <stdint.h> // lines 26-26
- #include <txmempool.h> // lines 21-21
- #include <ui_interface.h> // lines 22-22
- #include <validation.h> // lines 18-18
- #include <warnings.h> // lines 24-24
- #include <QDebug> // lines 28-28
- #include <QTimer> // lines 29-29
- class CBlockIndex; // lines 31-31
The full include-list for qt/clientmodel.cpp:
#include <qt/clientmodel.h>
#include <QtCore/qglobal.h> // for qDebug
#include <clientversion.h> // for FormatFullVersion
#include <interfaces/handler.h> // for Handler
#include <interfaces/node.h> // for Node
#include <net.h> // for CConnman, CConnman::CONNECTIONS_ALL, CConnman::CONNECTIONS_IN, CConnman::CONNECTIONS_NONE, CConnman::CONNECTIONS_OUT, CConnman::NumConnections, strSubVersion
#include <netbase.h> // for proxyType
#include <qt/bantablemodel.h> // for BanTableModel
#include <qt/guiconstants.h> // for MODEL_UPDATE_DELAY
#include <qt/guiutil.h> // for boostPathToQString
#include <qt/peertablemodel.h> // for PeerTableModel
#include <util.h> // for GetDataDir, GetStartupTime
#include <boost/bind/arg.hpp> // for arg
#include <boost/bind/bind.hpp> // for bind, bind_t
#include <boost/bind/placeholders.hpp> // for _1, _2, _3, _4
#include <boost/cstdint.hpp> // for int64_t
#include <cstdint> // for int64_t
#include <functional> // for __base
#include "config/bitcoin-config.h" // for CLIENT_VERSION_IS_RELEASE
#include "netaddress.h" // for Network, CService
#include "qdatetime.h" // for QDateTime
#include "qdebug.h" // for QDebug
#include "qnamespace.h" // for QueuedConnection
#include "qtimer.h" // for QTimer
#include "utiltime.h" // for GetTimeMillis
---
make[2]: *** [qt/qt_libbitcoinqt_a-clientmodel.o] Error 38
CXX qt/qt_libbitcoinqt_a-notificator.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 77884 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -DQT_NO_KEYWORDS -I/usr/local/Cellar/qt/5.10.0_1/include/QtNetwork -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtWidgets -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtGui -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtCore -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtDBus -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtCore -I/usr/local/Cellar/qt/5.10.0_1/include -D_THREAD_SAFE -I/usr/local/Cellar/protobuf/3.5.1/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT qt/qt_libbitcoinqt_a-guiutil.o -MD -MP -MF qt/.deps/qt_libbitcoinqt_a-guiutil.Tpo -c -o qt/qt_libbitcoinqt_a-guiutil.o `test -f 'qt/guiutil.cpp' || echo './'`qt/guiutil.cpp
make[2]: *** [qt/qt_libbitcoinqt_a-guiutil.o] Error 134
CXX qt/qt_libbitcoinqt_a-optionsdialog.o
qt/bitcoingui.cpp should add these lines:
#include <stdint.h> // for int64_t
#include <boost/bind/arg.hpp> // for arg
#include <boost/bind/bind.hpp> // for bind, bind_t
#include <boost/bind/placeholders.hpp> // for _1, _3, _2, _4
#include <functional> // for __base
#include <vector> // for vector
#include "amount.h" // for CAmount
#include "config/bitcoin-config.h" // for ENABLE_WALLET, PACKAGE_NAME
#include "consensus/params.h" // for Params
#include "interfaces/wallet.h" // for Wallet
#include "qaction.h" // for QAction, QAction::AboutQtRole, QAction::AboutRole, QAction::NoRole, QAction::PreferencesRole, QAction::QuitRole
#include "qactiongroup.h" // for QActionGroup
#include "qapplication.h" // for QApplication, qApp
#include "qboxlayout.h" // for QHBoxLayout
#include "qchar.h" // for QChar
#include "qcolor.h" // for QColor
#include "qcombobox.h" // for QComboBox
#include "qcoreevent.h" // for QEvent, QEvent::StatusTip
#include "qdatetime.h" // for QDateTime
#include "qdesktopwidget.h" // for QDesktopWidget
#include "qevent.h" // for QDragEnterEvent, QDropEvent, QCloseEvent (ptr only), QMouseEvent, QShowEvent (ptr only)
#include "qfontmetrics.h" // for QFontMetrics
#include "qframe.h" // for QFrame
#include "qicon.h" // for QIcon
#include "qkeysequence.h" // for QKeySequence
#include "qlist.h" // for QList
#include "qmenu.h" // for QMenu
#include "qmenubar.h" // for QMenuBar
#include "qmessagebox.h" // for QMessageBox, QMessageBox::Ok, QMessageBox::StandardButton, QMessageBox::Critical, QMessageBox::Icon, QMessageBox::Information, QMessageBox::StandardButtons, QMessageBox::Warning
#include "qmimedata.h" // for QMimeData
#include "qnamespace.h" // for ALT, CTRL, operator|, SHIFT, AlignCenter, AlignRight, AlignVCenter, ApplicationModal, Key_1, Key_2, Key_3, Key_4, Key_C, Key_D, Key_Q, PlainText, PreventContextMenu, QueuedConnection, ToolButtonTextBesideIcon
#include "qpoint.h" // for operator-, QPoint
#include "qprogressbar.h" // for QProgressBar
#include "qprogressdialog.h" // for QProgressDialog
#include "qrect.h" // for QRect
#include "qsettings.h" // for QSettings
#include "qshortcut.h" // for QShortcut
#include "qsizepolicy.h" // for QSizePolicy, QSizePolicy::Expanding, QSizePolicy::Fixed, QSizePolicy::Preferred
#include "qstatusbar.h" // for QStatusBar
#include "qstyle.h" // for QStyle
#include "qsystemtrayicon.h" // for QSystemTrayIcon
#include "qtoolbar.h" // for QToolBar
#include "qurl.h" // for QUrl
#include "qvariant.h" // for QVariant
#include "qwidget.h" // for QWidget
#include "utiltime.h" // for GetTime
class QObject;
qt/bitcoingui.cpp should remove these lines:
- #include <util.h> // lines 35-35
- #include <QAction> // lines 39-39
- #include <QApplication> // lines 40-40
- #include <QComboBox> // lines 41-41
- #include <QDateTime> // lines 42-42
- #include <QDesktopWidget> // lines 43-43
- #include <QDragEnterEvent> // lines 44-44
- #include <QListWidget> // lines 45-45
- #include <QMenuBar> // lines 46-46
- #include <QMessageBox> // lines 47-47
- #include <QMimeData> // lines 48-48
- #include <QProgressDialog> // lines 49-49
- #include <QSettings> // lines 50-50
- #include <QShortcut> // lines 51-51
- #include <QStackedWidget> // lines 52-52
- #include <QStatusBar> // lines 53-53
- #include <QStyle> // lines 54-54
- #include <QTimer> // lines 55-55
- #include <QToolBar> // lines 56-56
- #include <QUrlQuery> // lines 57-57
- #include <QVBoxLayout> // lines 58-58
The full include-list for qt/bitcoingui.cpp:
#include <qt/bitcoingui.h>
#include <chainparams.h> // for Params, CChainParams
#include <interfaces/handler.h> // for Handler
#include <interfaces/node.h> // for Node
#include <qt/bitcoinunits.h> // for BitcoinUnits, BitcoinUnits::Unit
#include <qt/clientmodel.h> // for ClientModel, BlockSource, BlockSource::DISK, BlockSource::NETWORK, BlockSource::NONE, BlockSource::REINDEX
#include <qt/guiconstants.h> // for STATUSBAR_ICONSIZE, SPINNER_FRAMES
#include <qt/guiutil.h> // for ClickableLabel, blockingGUIThreadConnection, formatNiceTimeOffset, isObscured, ProgressBar
#include <qt/macdockiconhandler.h> // for MacDockIconHandler
#include <qt/modaloverlay.h> // for ModalOverlay, HEADER_HEIGHT_DELTA_SYNC
#include <qt/networkstyle.h> // for NetworkStyle
#include <qt/notificator.h> // for Notificator, Notificator::Class, Notificator::Critical, Notificator::Information, Notificator::Warning
#include <qt/openuridialog.h> // for OpenURIDialog
#include <qt/optionsdialog.h> // for OptionsDialog
#include <qt/optionsmodel.h> // for OptionsModel
#include <qt/platformstyle.h> // for PlatformStyle
#include <qt/rpcconsole.h> // for RPCConsole, RPCConsole::TAB_CONSOLE
#include <qt/utilitydialog.h> // for HelpMessageDialog
#include <qt/walletframe.h> // for WalletFrame
#include <qt/walletmodel.h> // for WalletModel, WalletModel::Locked, WalletModel::Unencrypted, WalletModel::Unlocked
#include <qt/walletview.h> // for WalletView
#include <stdint.h> // for int64_t
#include <ui_interface.h> // for CClientUIInterface, CClientUIInterface::MODAL, CClientUIInterface::MSG_INFORMATION, CClientUIInterface::BTN_MASK, CClientUIInterface::ICON_ERROR, CClientUIInterface::ICON_WARNING, CClientUIInterface::MSG_ERROR, CClientUIInterface::MSG_WARNING, CClie...
#include <boost/bind/arg.hpp> // for arg
#include <boost/bind/bind.hpp> // for bind, bind_t
#include <boost/bind/placeholders.hpp> // for _1, _3, _2, _4
#include <functional> // for __base
#include <iostream> // for string
#include <vector> // for vector
#include "amount.h" // for CAmount
#include "config/bitcoin-config.h" // for ENABLE_WALLET, PACKAGE_NAME
#include "consensus/params.h" // for Params
#include "interfaces/wallet.h" // for Wallet
#include "qaction.h" // for QAction, QAction::AboutQtRole, QAction::AboutRole, QAction::NoRole, QAction::PreferencesRole, QAction::QuitRole
#include "qactiongroup.h" // for QActionGroup
#include "qapplication.h" // for QApplication, qApp
#include "qboxlayout.h" // for QHBoxLayout
#include "qchar.h" // for QChar
#include "qcolor.h" // for QColor
#include "qcombobox.h" // for QComboBox
#include "qcoreevent.h" // for QEvent, QEvent::StatusTip
#include "qdatetime.h" // for QDateTime
#include "qdesktopwidget.h" // for QDesktopWidget
#include "qevent.h" // for QDragEnterEvent, QDropEvent, QCloseEvent (ptr only), QMouseEvent, QShowEvent (ptr only)
#include "qfontmetrics.h" // for QFontMetrics
#include "qframe.h" // for QFrame
#include "qicon.h" // for QIcon
#include "qkeysequence.h" // for QKeySequence
#include "qlist.h" // for QList
#include "qmenu.h" // for QMenu
#include "qmenubar.h" // for QMenuBar
#include "qmessagebox.h" // for QMessageBox, QMessageBox::Ok, QMessageBox::StandardButton, QMessageBox::Critical, QMessageBox::Icon, QMessageBox::Information, QMessageBox::StandardButtons, QMessageBox::Warning
#include "qmimedata.h" // for QMimeData
#include "qnamespace.h" // for ALT, CTRL, operator|, SHIFT, AlignCenter, AlignRight, AlignVCenter, ApplicationModal, Key_1, Key_2, Key_3, Key_4, Key_C, Key_D, Key_Q, PlainText, PreventContextMenu, QueuedConnection, ToolButtonTextBesideIcon
#include "qpoint.h" // for operator-, QPoint
#include "qprogressbar.h" // for QProgressBar
#include "qprogressdialog.h" // for QProgressDialog
#include "qrect.h" // for QRect
#include "qsettings.h" // for QSettings
#include "qshortcut.h" // for QShortcut
#include "qsizepolicy.h" // for QSizePolicy, QSizePolicy::Expanding, QSizePolicy::Fixed, QSizePolicy::Preferred
#include "qstatusbar.h" // for QStatusBar
#include "qstyle.h" // for QStyle
#include "qsystemtrayicon.h" // for QSystemTrayIcon
#include "qtoolbar.h" // for QToolBar
#include "qurl.h" // for QUrl
#include "qvariant.h" // for QVariant
#include "qwidget.h" // for QWidget
#include "utiltime.h" // for GetTime
class QObject;
---
make[2]: *** [qt/qt_libbitcoinqt_a-bitcoingui.o] Error 97
CXX qt/qt_libbitcoinqt_a-optionsmodel.o
qt/networkstyle.h should add these lines:
#include "qicon.h" // for QIcon
#include "qstring.h" // for QString
qt/networkstyle.h should remove these lines:
- #include <QIcon> // lines 8-8
- #include <QPixmap> // lines 9-9
- #include <QString> // lines 10-10
The full include-list for qt/networkstyle.h:
#include "qicon.h" // for QIcon
#include "qstring.h" // for QString
---
qt/networkstyle.cpp should add these lines:
#include "qapplication.h" // for QApplication, qApp
#include "qcolor.h" // for QColor
#include "qglobal.h" // for QT_TRANSLATE_NOOP
#include "qimage.h" // for QImage
#include "qpixmap.h" // for QPixmap
#include "qrgb.h" // for QRgb, qAlpha
#include "qsize.h" // for QSize
qt/networkstyle.cpp should remove these lines:
- #include <QApplication> // lines 9-9
The full include-list for qt/networkstyle.cpp:
#include <qt/networkstyle.h>
#include <qt/guiconstants.h> // for QAPP_APP_NAME_TESTNET, QAPP_APP_NAME_DEFAULT
#include "qapplication.h" // for QApplication, qApp
#include "qcolor.h" // for QColor
#include "qglobal.h" // for QT_TRANSLATE_NOOP
#include "qimage.h" // for QImage
#include "qpixmap.h" // for QPixmap
#include "qrgb.h" // for QRgb, qAlpha
#include "qsize.h" // for QSize
---
make[2]: *** [qt/qt_libbitcoinqt_a-networkstyle.o] Error 15
CXX qt/qt_libbitcoinqt_a-peertablemodel.o
qt/intro.h should add these lines:
#include "qdialog.h" // for QDialog
#include "qglobal.h" // for quint64
#include "qmutex.h" // for QMutex
#include "qobjectdefs.h" // for Q_SLOTS, Q_OBJECT, Q_SIGNALS
#include "qstring.h" // for QString
class QObject;
class QThread;
class QWidget;
qt/intro.h should remove these lines:
- #include <QDialog> // lines 8-8
- #include <QMutex> // lines 9-9
- #include <QThread> // lines 10-10
- class FreespaceChecker; // lines 14-14
The full include-list for qt/intro.h:
#include "qdialog.h" // for QDialog
#include "qglobal.h" // for quint64
#include "qmutex.h" // for QMutex
#include "qobjectdefs.h" // for Q_SLOTS, Q_OBJECT, Q_SIGNALS
#include "qstring.h" // for QString
class QObject;
class QThread;
class QWidget;
namespace Ui { class Intro; } // lines 21-21
namespace interfaces { class Node; } // lines 17-17
---
qt/intro.cpp should add these lines:
#include <stdint.h> // for uint64_t, int64_t
#include <algorithm> // for max
#include <boost/filesystem/operations.hpp> // for exists, is_directory, space, filesystem_error, space_info
#include <boost/filesystem/path.hpp> // for path, operator/, operator==
#include <string> // for string
#include "qdialogbuttonbox.h" // for QDialogButtonBox, QDialogButtonBox::Ok
#include "qdir.h" // for QDir
#include "qfiledialog.h" // for QFileDialog
#include "qicon.h" // for QIcon
#include "qlabel.h" // for QLabel
#include "qlineedit.h" // for QLineEdit
#include "qmessagebox.h" // for QMessageBox
#include "qobject.h" // for QObject
#include "qpushbutton.h" // for QPushButton
#include "qradiobutton.h" // for QRadioButton
#include "qsettings.h" // for QSettings
#include "qthread.h" // for QThread
#include "qvariant.h" // for QVariant
class QWidget;
qt/intro.cpp should remove these lines:
- #include <fs.h> // lines 9-9
- #include <QFileDialog> // lines 18-18
- #include <QMessageBox> // lines 20-20
- #include <QSettings> // lines 19-19
- #include <qt/intro.moc> // lines 64-64
The full include-list for qt/intro.cpp:
#include <qt/intro.h>
#include <config/bitcoin-config.h> // for PACKAGE_NAME
#include <interfaces/node.h> // for Node
#include <qt/forms/ui_intro.h> // for Intro
#include <qt/guiutil.h> // for qstringToBoostPath, boostPathToQString
#include <stdint.h> // for uint64_t, int64_t
#include <util.h> // for TryCreateDirectories, ArgsManager, gArgs, GetDefaultDataDir
#include <algorithm> // for max
#include <boost/filesystem/operations.hpp> // for exists, is_directory, space, filesystem_error, space_info
#include <boost/filesystem/path.hpp> // for path, operator/, operator==
#include <cmath> // for ceil
#include <string> // for string
#include "qdialogbuttonbox.h" // for QDialogButtonBox, QDialogButtonBox::Ok
#include "qdir.h" // for QDir
#include "qfiledialog.h" // for QFileDialog
#include "qicon.h" // for QIcon
#include "qlabel.h" // for QLabel
#include "qlineedit.h" // for QLineEdit
#include "qmessagebox.h" // for QMessageBox
#include "qobject.h" // for QObject
#include "qpushbutton.h" // for QPushButton
#include "qradiobutton.h" // for QRadioButton
#include "qsettings.h" // for QSettings
#include "qthread.h" // for QThread
#include "qvariant.h" // for QVariant
class QWidget;
---
make[2]: *** [qt/qt_libbitcoinqt_a-intro.o] Error 38
CXX qt/qt_libbitcoinqt_a-platformstyle.o
qt/platformstyle.h should add these lines:
#include "qcolor.h" // for QColor
#include "qicon.h" // for QIcon
#include "qimage.h" // for QImage
#include "qstring.h" // for QString
qt/platformstyle.h should remove these lines:
- #include <QIcon> // lines 8-8
- #include <QPixmap> // lines 9-9
- #include <QString> // lines 10-10
The full include-list for qt/platformstyle.h:
#include "qcolor.h" // for QColor
#include "qicon.h" // for QIcon
#include "qimage.h" // for QImage
#include "qstring.h" // for QString
---
qt/platformstyle.cpp should add these lines:
#include <stdlib.h> // for abs
#include "qapplication.h" // for QApplication, QApplication::palette
#include "qlist.h" // for QList
#include "qpalette.h" // for QPalette, QPalette::WindowText, QPalette::Highlight, QPalette::HighlightedText
#include "qpixmap.h" // for QPixmap
#include "qrgb.h" // for qAlpha, qRgba, QRgb
class QSize;
qt/platformstyle.cpp should remove these lines:
- #include <qt/guiconstants.h> // lines 7-7
- #include <QApplication> // lines 9-9
- #include <QColor> // lines 10-10
- #include <QImage> // lines 11-11
- #include <QPalette> // lines 12-12
The full include-list for qt/platformstyle.cpp:
#include <qt/platformstyle.h>
#include <stdlib.h> // for abs
#include "qapplication.h" // for QApplication, QApplication::palette
#include "qlist.h" // for QList
#include "qpalette.h" // for QPalette, QPalette::WindowText, QPalette::Highlight, QPalette::HighlightedText
#include "qpixmap.h" // for QPixmap
#include "qrgb.h" // for qAlpha, qRgba, QRgb
class QSize;
---
make[2]: *** [qt/qt_libbitcoinqt_a-platformstyle.o] Error 21
CXX qt/qt_libbitcoinqt_a-qvalidatedlineedit.o
qt/notificator.h should add these lines:
#include <QtCore/qglobal.h> // for Q_OS_MAC
#include "qglobal.h" // for QT_BEGIN_NAMESPACE, QT_END_NAMESPACE
#include "qicon.h" // for QIcon
#include "qobject.h" // for QObject
#include "qobjectdefs.h" // for Q_OBJECT, Q_SLOTS
#include "qstring.h" // for QString
class QWidget;
qt/notificator.h should remove these lines:
- #include <QIcon> // lines 12-12
- #include <QObject> // lines 13-13
The full include-list for qt/notificator.h:
#include <QtCore/qglobal.h> // for Q_OS_MAC
#include <config/bitcoin-config.h> // for USE_DBUS
#include "qglobal.h" // for QT_BEGIN_NAMESPACE, QT_END_NAMESPACE
#include "qicon.h" // for QIcon
#include "qobject.h" // for QObject
#include "qobjectdefs.h" // for Q_OBJECT, Q_SLOTS
#include "qstring.h" // for QString
class QDBusInterface; // lines 19-19
class QSystemTrayIcon; // lines 16-16
class QWidget;
---
qt/notificator.cpp should add these lines:
#include "config/bitcoin-config.h" // for USE_DBUS
#include "qapplication.h" // for QApplication
#include "qbytearray.h" // for QByteArray, QByteRef
#include "qdbusargument.h" // for QDBusArgument
#include "qdbusconnection.h" // for NoBlock
#include "qdbusinterface.h" // for QDBusInterface
#include "qdbusmetatype.h" // for qDBusRegisterMetaType
#include "qimage.h" // for QImage, QImage::Format_ARGB32
#include "qjsonobject.h" // for QVariantMap
#include "qlist.h" // for QList
#include "qmap.h" // for QMap
#include "qmessagebox.h" // for QMessageBox, QMessageBox::Ok
#include "qmetatype.h" // for Q_DECLARE_METATYPE
#include "qpixmap.h" // for QPixmap
#include "qstringlist.h" // for QStringList
#include "qstyle.h" // for QStyle, QStyle::SP_MessageBoxCritical, QStyle::SP_MessageBoxInformation, QStyle::SP_MessageBoxQuestion, QStyle::SP_MessageBoxWarning, QStyle::StandardPixmap
#include "qsystemtrayicon.h" // for QSystemTrayIcon, QSystemTrayIcon::Critical, QSystemTrayIcon::Information, QSystemTrayIcon::MessageIcon, QSystemTrayIcon::NoIcon, QSystemTrayIcon::Warning
#include "qvariant.h" // for QVariant
#include "qwidget.h" // for QWidget
qt/notificator.cpp should remove these lines:
- #include <ApplicationServices/ApplicationServices.h> // lines 25-25
- #include <QApplication> // lines 7-7
- #include <QByteArray> // lines 8-8
- #include <QImageWriter> // lines 9-9
- #include <QMessageBox> // lines 10-10
- #include <QMetaType> // lines 11-11
- #include <QStyle> // lines 12-12
- #include <QSystemTrayIcon> // lines 13-13
- #include <QTemporaryFile> // lines 14-14
- #include <QVariant> // lines 15-15
- #include <QtDBus> // lines 18-18
The full include-list for qt/notificator.cpp:
#include <qt/notificator.h>
#include <qt/macnotificationhandler.h> // for MacNotificationHandler
#include <stdint.h> // for uint32_t
#include "config/bitcoin-config.h" // for USE_DBUS
#include "qapplication.h" // for QApplication
#include "qbytearray.h" // for QByteArray, QByteRef
#include "qdbusargument.h" // for QDBusArgument
#include "qdbusconnection.h" // for NoBlock
#include "qdbusinterface.h" // for QDBusInterface
#include "qdbusmetatype.h" // for qDBusRegisterMetaType
#include "qimage.h" // for QImage, QImage::Format_ARGB32
#include "qjsonobject.h" // for QVariantMap
#include "qlist.h" // for QList
#include "qmap.h" // for QMap
#include "qmessagebox.h" // for QMessageBox, QMessageBox::Ok
#include "qmetatype.h" // for Q_DECLARE_METATYPE
#include "qpixmap.h" // for QPixmap
#include "qstringlist.h" // for QStringList
#include "qstyle.h" // for QStyle, QStyle::SP_MessageBoxCritical, QStyle::SP_MessageBoxInformation, QStyle::SP_MessageBoxQuestion, QStyle::SP_MessageBoxWarning, QStyle::StandardPixmap
#include "qsystemtrayicon.h" // for QSystemTrayIcon, QSystemTrayIcon::Critical, QSystemTrayIcon::Information, QSystemTrayIcon::MessageIcon, QSystemTrayIcon::NoIcon, QSystemTrayIcon::Warning
#include "qvariant.h" // for QVariant
#include "qwidget.h" // for QWidget
---
make[2]: *** [qt/qt_libbitcoinqt_a-notificator.o] Error 41
CXX qt/qt_libbitcoinqt_a-qvaluecombobox.o
wallet/test/coinselector_tests.cpp should add these lines:
#include <stdint.h> // for uint16_t
#include <algorithm> // for mismatch
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0, BOOST_CHECK_EQUAL, BOOST_CHECK_NE, BOOST_CHECK_GE
#include <boost/test/unit_test_log.hpp> // for BOOST_TEST_MESSAGE
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <cmath> // for ceil
#include <memory> // for unique_ptr
#include <set> // for __tree_const_iterator, operator==, set<>::iterator, operator!=, set
#include <string> // for string
#include <type_traits> // for move
#include <utility> // for pair
#include <vector> // for vector
#include "policy/feerate.h" // for CFeeRate
#include "sync.h" // for LOCK
#include "wallet/walletdb.h" // for WalletDatabase
wallet/test/coinselector_tests.cpp should remove these lines:
- #include <test/test_bitcoin.h> // lines 11-11
- #include <boost/test/unit_test.hpp> // lines 14-14
The full include-list for wallet/test/coinselector_tests.cpp:
#include <amount.h> // for CENT, CAmount, COIN
#include <primitives/transaction.h> // for CMutableTransaction, CTxOut, CTxIn, MakeTransactionRef, COutPoint
#include <random.h> // for FastRandomContext
#include <stdint.h> // for uint16_t
#include <wallet/coincontrol.h> // for CCoinControl
#include <wallet/coinselection.h> // for CInputCoin, SelectCoinsBnB, MIN_CHANGE
#include <wallet/test/wallet_test_fixture.h> // for WalletTestingSetup
#include <wallet/wallet.h> // for COutput, CWallet, CWalletTx, CoinSelectionParams, CoinEligibilityFilter
#include <algorithm> // for mismatch
#include <boost/preprocessor/arithmetic/dec.hpp> // for BOOST_PP_DEC_1, BOOST_PP_DEC_2, BOOST_PP_DEC_3
#include <boost/preprocessor/comparison/not_equal.hpp> // for BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_1, BOOST_PP_NOT_EQUAL_2, BOOST_PP_NOT_EQUAL_CHECK_BOOST_PP_NOT_EQUAL_2
#include <boost/preprocessor/control/expr_iif.hpp> // for BOOST_PP_EXPR_IIF_1
#include <boost/preprocessor/control/iif.hpp> // for BOOST_PP_IIF_1, BOOST_PP_IIF_0
#include <boost/preprocessor/detail/auto_rec.hpp> // for BOOST_PP_NODE_ENTRY_256
#include <boost/preprocessor/logical/bool.hpp> // for BOOST_PP_BOOL_0, BOOST_PP_BOOL_1, BOOST_PP_BOOL_2
#include <boost/preprocessor/logical/compl.hpp> // for BOOST_PP_COMPL_0
#include <boost/preprocessor/repetition/detail/for.hpp> // for BOOST_PP_FOR_1, BOOST_PP_FOR_128, BOOST_PP_FOR_16, BOOST_PP_FOR_2, BOOST_PP_FOR_32, BOOST_PP_FOR_4, BOOST_PP_FOR_64, BOOST_PP_FOR_8
#include <boost/preprocessor/repetition/for.hpp> // for BOOST_PP_FOR_CHECK_BOOST_PP_NIL
#include <boost/preprocessor/seq/elem.hpp> // for BOOST_PP_SEQ_ELEM_0
#include <boost/preprocessor/seq/size.hpp> // for BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_2, BOOST_PP_SEQ_SIZE_BOOST_PP_SEQ_SIZE_3
#include <boost/preprocessor/tuple/elem.hpp> // for BOOST_PP_TUPLE_ELEM_O_3
#include <boost/preprocessor/variadic/elem.hpp> // for BOOST_PP_VARIADIC_ELEM_3
#include <boost/test/tools/old/interface.hpp> // for BOOST_CHECK, BOOST_TEST_TOOL_PASS_ARGS2, BOOST_TEST_TOOL_PASS_PRED2, BOOST_TEST_TOOL_PASS_ARGS0, BOOST_TEST_TOOL_PASS_PRED0, BOOST_CHECK_EQUAL, BOOST_CHECK_NE, BOOST_CHECK_GE
#include <boost/test/unit_test_log.hpp> // for BOOST_TEST_MESSAGE
#include <boost/test/unit_test_suite.hpp> // for BOOST_AUTO_TEST_CASE, BOOST_AUTO_TEST_SUITE_END, BOOST_FIXTURE_TEST_SUITE
#include <boost/test/utils/basic_cstring/basic_cstring.hpp> // for basic_cstring
#include <boost/test/utils/basic_cstring/basic_cstring_fwd.hpp> // for const_string
#include <cmath> // for ceil
#include <memory> // for unique_ptr
#include <random> // for default_random_engine, exponential_distribution
#include <set> // for __tree_const_iterator, operator==, set<>::iterator, operator!=, set
#include <string> // for string
#include <type_traits> // for move
#include <utility> // for pair
#include <vector> // for vector
#include "policy/feerate.h" // for CFeeRate
#include "sync.h" // for LOCK
#include "wallet/walletdb.h" // for WalletDatabase
---
make[2]: *** [wallet/test/test_test_bitcoin-coinselector_tests.o] Error 34
CXX qt/qt_libbitcoinqt_a-rpcconsole.o
qt/qvalidatedlineedit.h should add these lines:
#include "qlineedit.h" // for QLineEdit
#include "qobjectdefs.h" // for Q_SLOTS, Q_OBJECT, Q_SIGNALS
#include "qstring.h" // for QString
class QFocusEvent;
class QObject;
class QValidator;
class QWidget;
qt/qvalidatedlineedit.h should remove these lines:
- #include <QLineEdit> // lines 8-8
The full include-list for qt/qvalidatedlineedit.h:
#include "qlineedit.h" // for QLineEdit
#include "qobjectdefs.h" // for Q_SLOTS, Q_OBJECT, Q_SIGNALS
#include "qstring.h" // for QString
class QFocusEvent;
class QObject;
class QValidator;
class QWidget;
---
qt/qvalidatedlineedit.cpp should add these lines:
#include "qvalidator.h" // for QValidator, QValidator::Acceptable
class QFocusEvent;
class QWidget;
qt/qvalidatedlineedit.cpp should remove these lines:
- #include <qt/bitcoinaddressvalidator.h> // lines 7-7
The full include-list for qt/qvalidatedlineedit.cpp:
#include <qt/qvalidatedlineedit.h>
#include <qt/guiconstants.h> // for STYLE_INVALID
#include "qvalidator.h" // for QValidator, QValidator::Acceptable
class QFocusEvent;
class QWidget;
---
make[2]: *** [qt/qt_libbitcoinqt_a-qvalidatedlineedit.o] Error 14
CXX qt/qt_libbitcoinqt_a-splashscreen.o
qt/qvaluecombobox.h should add these lines:
#include "qcombobox.h" // for QComboBox
#include "qobjectdefs.h" // for Q_OBJECT, Q_PROPERTY, Q_SIGNALS, Q_SLOTS
#include "qstring.h" // for QString
#include "qvariant.h" // for QVariant
class QObject;
class QWidget;
qt/qvaluecombobox.h should remove these lines:
- #include <QComboBox> // lines 8-8
- #include <QVariant> // lines 9-9
The full include-list for qt/qvaluecombobox.h:
#include "qcombobox.h" // for QComboBox
#include "qobjectdefs.h" // for Q_OBJECT, Q_PROPERTY, Q_SIGNALS, Q_SLOTS
#include "qstring.h" // for QString
#include "qvariant.h" // for QVariant
class QObject;
class QWidget;
---
qt/qvaluecombobox.cpp should add these lines:
#include "qnamespace.h" // for UserRole
class QWidget;
The full include-list for qt/qvaluecombobox.cpp:
#include <qt/qvaluecombobox.h>
#include "qnamespace.h" // for UserRole
class QWidget;
---
make[2]: *** [qt/qt_libbitcoinqt_a-qvaluecombobox.o] Error 12
CXX qt/qt_libbitcoinqt_a-trafficgraphwidget.o
qt/optionsdialog.h should add these lines:
#include "qdialog.h" // for QDialog
#include "qglobal.h" // for QT_BEGIN_NAMESPACE, QT_END_NAMESPACE
#include "qobjectdefs.h" // for Q_OBJECT, Q_SIGNALS, Q_SLOTS
#include "qstring.h" // for QString
#include "qvalidator.h" // for QValidator, QValidator::State
class QObject;
class QWidget;
qt/optionsdialog.h should remove these lines:
- #include <QDialog> // lines 8-8
- #include <QValidator> // lines 9-9
The full include-list for qt/optionsdialog.h:
#include "qdialog.h" // for QDialog
#include "qglobal.h" // for QT_BEGIN_NAMESPACE, QT_END_NAMESPACE
#include "qobjectdefs.h" // for Q_OBJECT, Q_SIGNALS, Q_SLOTS
#include "qstring.h" // for QString
#include "qvalidator.h" // for QValidator, QValidator::State
class OptionsModel; // lines 11-11
class QDataWidgetMapper; // lines 15-15
class QObject;
class QValidatedLineEdit; // lines 12-12
class QWidget;
namespace Ui { class OptionsDialog; } // lines 19-19
---
qt/optionsmodel.h should add these lines:
#include <string> // for string
#include "qabstractitemmodel.h" // for QAbstractListModel, QModelIndex
#include "qglobal.h" // for QT_BEGIN_NAMESPACE, QT_END_NAMESPACE
#include "qnamespace.h" // for DisplayRole, EditRole
#include "qobjectdefs.h" // for Q_OBJECT, Q_SIGNALS
#include "qstring.h" // for QString
#include "qvariant.h" // for QVariant
class QObject;
qt/optionsmodel.h should remove these lines:
- #include <amount.h> // lines 8-8
- #include <QAbstractListModel> // lines 10-10
The full include-list for qt/optionsmodel.h:
#include <string> // for string
#include "qabstractitemmodel.h" // for QAbstractListModel, QModelIndex
#include "qglobal.h" // for QT_BEGIN_NAMESPACE, QT_END_NAMESPACE
#include "qnamespace.h" // for DisplayRole, EditRole
#include "qobjectdefs.h" // for Q_OBJECT, Q_SIGNALS
#include "qstring.h" // for QString
#include "qvariant.h" // for QVariant
class QNetworkProxy; // lines 17-17
class QObject;
namespace interfaces { class Node; } // lines 13-13
---
qt/optionsmodel.cpp should add these lines:
#include <QtCore/qglobal.h> // for qWarning
#include <stdint.h> // for uint64_t
#include <boost/filesystem/path.hpp> // for operator/, path
#include "clientversion.h" // for CLIENT_VERSION
#include "netaddress.h" // for CService, NET_IPV4
#include "qdebug.h" // for QDebug
#include "qnetworkproxy.h" // for QNetworkProxy, QNetworkProxy::NoProxy, QNetworkProxy::Socks5Proxy
#include "qsettings.h" // for QSettings, QSettings::IniFormat
#include "qstringlist.h" // for QStringList
#include "util.h" // for ArgsManager, GetDataDir, gArgs
class QObject;
qt/optionsmodel.cpp should remove these lines:
- #include <QNetworkProxy> // lines 21-21
- #include <QSettings> // lines 22-22
- #include <QStringList> // lines 23-23
The full include-list for qt/optionsmodel.cpp:
#include <qt/optionsmodel.h>
#include <QtCore/qglobal.h> // for qWarning
#include <config/bitcoin-config.h> // for ENABLE_WALLET, USE_UPNP
#include <interfaces/node.h> // for Node
#include <net.h> // for DEFAULT_LISTEN, DEFAULT_UPNP
#include <netbase.h> // for proxyType
#include <qt/bitcoinunits.h> // for BitcoinUnits, BitcoinUnits::BTC
#include <qt/guiutil.h> // for GetStartOnSystemStartup, SetStartOnSystemStartup, boostPathToQString
#include <qt/intro.h> // for Intro
#include <stdint.h> // for uint64_t
#include <txdb.h> // for nDefaultDbCache
#include <validation.h> // for DEFAULT_SCRIPTCHECK_THREADS
#include <boost/filesystem/path.hpp> // for operator/, path
#include "clientversion.h" // for CLIENT_VERSION
#include "netaddress.h" // for CService, NET_IPV4
#include "qdebug.h" // for QDebug
#include "qnetworkproxy.h" // for QNetworkProxy, QNetworkProxy::NoProxy, QNetworkProxy::Socks5Proxy
#include "qsettings.h" // for QSettings, QSettings::IniFormat
#include "qstringlist.h" // for QStringList
#include "util.h" // for ArgsManager, GetDataDir, gArgs
class QObject;
---
make[2]: *** [qt/qt_libbitcoinqt_a-optionsmodel.o] Error 26
CXX qt/qt_libbitcoinqt_a-utilitydialog.o
qt/optionsdialog.cpp should add these lines:
#include <QtCore/qglobal.h> // for Q_OS_MAC
#include <stdint.h> // for uint64_t
#include <string> // for operator+, allocator, operator==, string
#include "netaddress.h" // for CService, NET_IPV4, NET_IPV6, NET_ONION
#include "qapplication.h" // for QApplication
#include "qcheckbox.h" // for QCheckBox
#include "qdatawidgetmapper.h" // for QDataWidgetMapper, QDataWidgetMapper::ManualSubmit
#include "qdir.h" // for QDir
#include "qlabel.h" // for QLabel
#include "qlineedit.h" // for QLineEdit
#include "qlocale.h" // for QLocale
#include "qmessagebox.h" // for QMessageBox, QMessageBox::Cancel, operator|, QMessageBox::StandardButton, QMessageBox::Yes
#include "qnamespace.h" // for Vertical
#include "qpushbutton.h" // for QPushButton
#include "qspinbox.h" // for QSpinBox
#include "qstringlist.h" // for QStringList
#include "qt/qvalidatedlineedit.h" // for QValidatedLineEdit
#include "qt/qvaluecombobox.h" // for QValueComboBox
#include "qtabwidget.h" // for QTabWidget
#include "qtimer.h" // for QTimer
#include "qvariant.h" // for QVariant
#include "qwidget.h" // for QWidget
#include "util.h" // for GetNumCores
class QObject;
qt/optionsdialog.cpp should remove these lines:
- #include <QDataWidgetMapper> // lines 21-21
- #include <QDir> // lines 22-22
- #include <QIntValidator> // lines 23-23
- #include <QLocale> // lines 24-24
- #include <QMessageBox> // lines 25-25
- #include <QTimer> // lines 26-26
The full include-list for qt/optionsdialog.cpp:
#include <qt/optionsdialog.h>
#include <QtCore/qglobal.h> // for Q_OS_MAC
#include <config/bitcoin-config.h> // for PACKAGE_NAME, USE_UPNP
#include <interfaces/node.h> // for Node
#include <netbase.h> // for proxyType, LookupNumeric
#include <qt/bitcoinunits.h> // for BitcoinUnits
#include <qt/forms/ui_optionsdialog.h> // for OptionsDialog
#include <qt/guiutil.h> // for openBitcoinConf
#include <qt/optionsmodel.h> // for OptionsModel, DEFAULT_GUI_PROXY_PORT, OptionsModel::CoinControlFeatures, OptionsModel::DatabaseCache, OptionsModel::DisplayUnit, OptionsModel::Language, OptionsModel::Listen, OptionsModel::MapPortUPnP, OptionsModel::ProxyIP, OptionsModel::ProxyIPTor
#include <stdint.h> // for uint64_t
#include <txdb.h> // for nMaxDbCache, nMinDbCache
#include <validation.h> // for MIN_DISK_SPACE_FOR_BLOCK_FILES, MAX_SCRIPTCHECK_THREADS
#include <string> // for operator+, allocator, operator==, string
#include "netaddress.h" // for CService, NET_IPV4, NET_IPV6, NET_ONION
#include "qapplication.h" // for QApplication
#include "qcheckbox.h" // for QCheckBox
#include "qdatawidgetmapper.h" // for QDataWidgetMapper, QDataWidgetMapper::ManualSubmit
#include "qdir.h" // for QDir
#include "qlabel.h" // for QLabel
#include "qlineedit.h" // for QLineEdit
#include "qlocale.h" // for QLocale
#include "qmessagebox.h" // for QMessageBox, QMessageBox::Cancel, operator|, QMessageBox::StandardButton, QMessageBox::Yes
#include "qnamespace.h" // for Vertical
#include "qpushbutton.h" // for QPushButton
#include "qspinbox.h" // for QSpinBox
#include "qstringlist.h" // for QStringList
#include "qt/qvalidatedlineedit.h" // for QValidatedLineEdit
#include "qt/qvaluecombobox.h" // for QValueComboBox
#include "qtabwidget.h" // for QTabWidget
#include "qtimer.h" // for QTimer
#include "qvariant.h" // for QVariant
#include "qwidget.h" // for QWidget
#include "util.h" // for GetNumCores
class QObject;
---
make[2]: *** [qt/qt_libbitcoinqt_a-optionsdialog.o] Error 41
CXX qt/qt_libbitcoinqt_a-addressbookpage.o
qt/peertablemodel.h should add these lines:
#include "qabstractitemmodel.h" // for QAbstractTableModel, QModelIndex
#include "qglobal.h" // for QT_BEGIN_NAMESPACE, QT_END_NAMESPACE
#include "qnamespace.h" // for SortOrder, ItemFlags, Orientation
#include "qobjectdefs.h" // for Q_OBJECT, Q_SLOTS
#include "qstring.h" // for QString
#include "qstringlist.h" // for QStringList
#include "qvariant.h" // for QVariant
class QObject;
qt/peertablemodel.h should remove these lines:
- #include <QAbstractTableModel> // lines 13-13
- #include <QStringList> // lines 14-14
The full include-list for qt/peertablemodel.h:
#include <net.h> // for CNodeStats, NodeId
#include <net_processing.h> // for CNodeStateStats
#include <memory> // for unique_ptr
#include "qabstractitemmodel.h" // for QAbstractTableModel, QModelIndex
#include "qglobal.h" // for QT_BEGIN_NAMESPACE, QT_END_NAMESPACE
#include "qnamespace.h" // for SortOrder, ItemFlags, Orientation
#include "qobjectdefs.h" // for Q_OBJECT, Q_SLOTS
#include "qstring.h" // for QString
#include "qstringlist.h" // for QStringList
#include "qvariant.h" // for QVariant
class ClientModel; // lines 16-16
class PeerTablePriv; // lines 17-17
class QObject;
class QTimer; // lines 24-24
namespace interfaces { class Node; } // lines 20-20
---
qt/peertablemodel.cpp should add these lines:
#include <QtCore/qglobal.h> // for QFlags
#include <map> // for map, operator==, map<>::iterator, __map_iterator
#include <string> // for string
#include <tuple> // for get
#include <type_traits> // for swap
#include <utility> // for pair
#include "net.h" // for CNodeStats, NodeId
#include "net_processing.h" // for CNodeStateStats
#include "qalgorithms.h" // for qStableSort
#include "qlist.h" // for QList<>::iterator, QList
#include "qtimer.h" // for QTimer
qt/peertablemodel.cpp should remove these lines:
- #include <sync.h> // lines 13-13
- #include <validation.h> // lines 12-12
- #include <QDebug> // lines 15-15
- #include <QList> // lines 16-16
- #include <QTimer> // lines 17-17
The full include-list for qt/peertablemodel.cpp:
#include <qt/peertablemodel.h>
#include <QtCore/qglobal.h> // for QFlags
#include <interfaces/node.h> // for Node::NodesStats, Node
#include <qt/clientmodel.h> // for ClientModel
#include <qt/guiconstants.h> // for MODEL_UPDATE_DELAY
#include <qt/guiutil.h> // for formatBytes, formatPingTime
#include <map> // for map, operator==, map<>::iterator, __map_iterator
#include <string> // for string
#include <tuple> // for get
#include <type_traits> // for swap
#include <utility> // for pair
#include "net.h" // for CNodeStats, NodeId
#include "net_processing.h" // for CNodeStateStats
#include "qalgorithms.h" // for qStableSort
#include "qlist.h" // for QList<>::iterator, QList
#include "qtimer.h" // for QTimer
---
make[2]: *** [qt/qt_libbitcoinqt_a-peertablemodel.o] Error 28
CXX qt/qt_libbitcoinqt_a-addresstablemodel.o
qt/addressbookpage.h should add these lines:
#include "qdialog.h" // for QDialog
#include "qglobal.h" // for QT_BEGIN_NAMESPACE, QT_END_NAMESPACE
#include "qobjectdefs.h" // for Q_SLOTS, Q_OBJECT, Q_SIGNALS
#include "qstring.h" // for QString
class QAction;
class QObject;
class QPoint;
class QWidget;
qt/addressbookpage.h should remove these lines:
- #include <QDialog> // lines 8-8
- class QItemSelection; // lines 19-19
The full include-list for qt/addressbookpage.h:
#include "qdialog.h" // for QDialog
#include "qglobal.h" // for QT_BEGIN_NAMESPACE, QT_END_NAMESPACE
#include "qobjectdefs.h" // for Q_SLOTS, Q_OBJECT, Q_SIGNALS
#include "qstring.h" // for QString
class AddressBookSortFilterProxyModel; // lines 10-10
class AddressTableModel; // lines 11-11
class PlatformStyle; // lines 12-12
class QAction;
class QMenu; // lines 20-20
class QModelIndex; // lines 21-21
class QObject;
class QPoint;
class QWidget;
namespace Ui { class AddressBookPage; } // lines 15-15
---
qt/addressbookpage.cpp should add these lines:
#include "qabstractitemmodel.h" // for QModelIndex, QModelIndexList, QAbstractItemModel
#include "qabstractitemview.h" // for QAbstractItemView, QAbstractItemView::NoEditTriggers
#include "qaction.h" // for QAction
#include "qcursor.h" // for QCursor
#include "qheaderview.h" // for QHeaderView, QHeaderView::ResizeToContents, QHeaderView::Stretch
#include "qicon.h" // for QIcon
#include "qitemselectionmodel.h" // for QItemSelectionModel
#include "qlabel.h" // for QLabel
#include "qlineedit.h" // for QLineEdit
#include "qlist.h" // for QList
#include "qmenu.h" // for QMenu
#include "qmessagebox.h" // for QMessageBox
#include "qnamespace.h" // for EditRole, CaseInsensitive, AscendingOrder
#include "qpushbutton.h" // for QPushButton
#include "qregexp.h" // for QRegExp
#include "qsortfilterproxymodel.h" // for QSortFilterProxyModel
#include "qtableview.h" // for QTableView
#include "qvariant.h" // for QVariant
class QObject;
class QPoint;
class QWidget;
qt/addressbookpage.cpp should remove these lines:
- #include <config/bitcoin-config.h> // lines 6-6
- #include <qt/bitcoingui.h> // lines 13-13
- #include <QIcon> // lines 19-19
- #include <QMenu> // lines 20-20
- #include <QMessageBox> // lines 21-21
- #include <QSortFilterProxyModel> // lines 22-22
The full include-list for qt/addressbookpage.cpp:
#include <qt/addressbookpage.h>
#include <qt/addresstablemodel.h> // for AddressTableModel, AddressTableModel::Address, AddressTableModel::Label, AddressTableModel::Receive, AddressTableModel::Send, AddressTableModel::TypeRole
#include <qt/csvmodelwriter.h> // for CSVModelWriter
#include <qt/editaddressdialog.h> // for EditAddressDialog, EditAddressDialog::EditReceivingAddress, EditAddressDialog::EditSendingAddress, EditAddressDialog::NewSendingAddress
#include <qt/forms/ui_addressbookpage.h> // for AddressBookPage
#include <qt/guiutil.h> // for copyEntryData, getSaveFileName
#include <qt/platformstyle.h> // for PlatformStyle
#include "qabstractitemmodel.h" // for QModelIndex, QModelIndexList, QAbstractItemModel
#include "qabstractitemview.h" // for QAbstractItemView, QAbstractItemView::NoEditTriggers
#include "qaction.h" // for QAction
#include "qcursor.h" // for QCursor
#include "qheaderview.h" // for QHeaderView, QHeaderView::ResizeToContents, QHeaderView::Stretch
#include "qicon.h" // for QIcon
#include "qitemselectionmodel.h" // for QItemSelectionModel
#include "qlabel.h" // for QLabel
#include "qlineedit.h" // for QLineEdit
#include "qlist.h" // for QList
#include "qmenu.h" // for QMenu
#include "qmessagebox.h" // for QMessageBox
#include "qnamespace.h" // for EditRole, CaseInsensitive, AscendingOrder
#include "qpushbutton.h" // for QPushButton
#include "qregexp.h" // for QRegExp
#include "qsortfilterproxymodel.h" // for QSortFilterProxyModel
#include "qtableview.h" // for QTableView
#include "qvariant.h" // for QVariant
class QObject;
class QPoint;
class QWidget;
---
make[2]: *** [qt/qt_libbitcoinqt_a-addressbookpage.o] Error 39
CXX qt/qt_libbitcoinqt_a-askpassphrasedialog.o
qt/trafficgraphwidget.h should add these lines:
#include "qglobal.h" // for quint64, QT_BEGIN_NAMESPACE, QT_END_NAMESPACE
#include "qobjectdefs.h" // for Q_OBJECT, Q_SLOTS
#include "qqueue.h" // for QQueue
#include "qstring.h" // for QString
#include "qwidget.h" // for QWidget
class QObject;
class QPainterPath;
qt/trafficgraphwidget.h should remove these lines:
- #include <QQueue> // lines 9-9
- #include <QWidget> // lines 8-8
The full include-list for qt/trafficgraphwidget.h:
#include "qglobal.h" // for quint64, QT_BEGIN_NAMESPACE, QT_END_NAMESPACE
#include "qobjectdefs.h" // for Q_OBJECT, Q_SLOTS
#include "qqueue.h" // for QQueue
#include "qstring.h" // for QString
#include "qwidget.h" // for QWidget
class ClientModel; // lines 11-11
class QObject;
class QPaintEvent; // lines 14-14
class QPainterPath;
class QTimer; // lines 15-15
---
qt/trafficgraphwidget.cpp should add these lines:
#include "qcolor.h" // for QColor
#include "qnamespace.h" // for black, gray, green, red
#include "qpainter.h" // for QPainter
#include "qpainterpath.h" // for QPainterPath
#include "qtimer.h" // for QTimer
qt/trafficgraphwidget.cpp should remove these lines:
- #include <QColor> // lines 10-10
- #include <QPainter> // lines 9-9
- #include <QTimer> // lines 11-11
The full include-list for qt/trafficgraphwidget.cpp:
#include <qt/trafficgraphwidget.h>
#include <interfaces/node.h> // for Node
#include <qt/clientmodel.h> // for ClientModel
#include <cmath> // for pow, floor, log10
#include "qcolor.h" // for QColor
#include "qnamespace.h" // for black, gray, green, red
#include "qpainter.h" // for QPainter
#include "qpainterpath.h" // for QPainterPath
#include "qtimer.h" // for QTimer
---
make[2]: *** [qt/qt_libbitcoinqt_a-trafficgraphwidget.o] Error 19
CXX qt/qt_libbitcoinqt_a-coincontroldialog.o
qt/splashscreen.h should add these lines:
#include <list> // for list
#include "qcolor.h" // for QColor
#include "qnamespace.h" // for WindowFlags
#include "qobjectdefs.h" // for Q_OBJECT, Q_SLOTS
#include "qpixmap.h" // for QPixmap
#include "qstring.h" // for QString
#include "qwidget.h" // for QWidget
class QCloseEvent;
class QEvent;
class QObject;
class QPaintEvent;
qt/splashscreen.h should remove these lines:
- #include <QSplashScreen> // lines 9-9
- #include <functional> // lines 8-8
The full include-list for qt/splashscreen.h:
#include <list> // for list
#include <memory> // for unique_ptr
#include "qcolor.h" // for QColor
#include "qnamespace.h" // for WindowFlags
#include "qobjectdefs.h" // for Q_OBJECT, Q_SLOTS
#include "qpixmap.h" // for QPixmap
#include "qstring.h" // for QString
#include "qwidget.h" // for QWidget
class NetworkStyle; // lines 13-13
class QCloseEvent;
class QEvent;
class QObject;
class QPaintEvent;
namespace interfaces { class Handler; } // lines 16-16
namespace interfaces { class Node; } // lines 17-17
namespace interfaces { class Wallet; } // lines 18-18
---
qt/splashscreen.cpp should add these lines:
#include <QtCore/qglobal.h> // for QFlags
#include <boost/bind/arg.hpp> // for arg
#include <boost/bind/bind.hpp> // for bind, bind_t
#include <boost/bind/placeholders.hpp> // for _1, _2, _3
#include <functional> // for __base
#include <string> // for operator+, string
#include <type_traits> // for move
#include "qapplication.h" // for QApplication
#include "qbrush.h" // for QRadialGradient
#include "qchar.h" // for operator==, QChar
#include "qcoreapplication.h" // for QCoreApplication
#include "qcoreevent.h" // for QEvent, QEvent::KeyPress
#include "qdesktopwidget.h" // for QDesktopWidget
#include "qevent.h" // for QCloseEvent, QKeyEvent, QPaintEvent (ptr only)
#include "qfont.h" // for QFont, QFont::Bold
#include "qfontmetrics.h" // for QFontMetrics
#include "qglobal.h" // for QT_VERSION, Q_UNUSED
#include "qguiapplication.h" // for QGuiApplication
#include "qicon.h" // for QIcon
#include "qobject.h" // for QObject
#include "qpainter.h" // for QPainter
#include "qpoint.h" // for QPoint, operator-, QPointF
#include "qrect.h" // for QRect
#include "qsize.h" // for QSize
#include "tinyformat.h" // for strprintf
qt/splashscreen.cpp should remove these lines:
- #include <ui_interface.h> // lines 18-18
- #include <version.h> // lines 19-19
- #include <QApplication> // lines 21-21
- #include <QCloseEvent> // lines 22-22
- #include <QDesktopWidget> // lines 23-23
- #include <QPainter> // lines 24-24
- #include <QRadialGradient> // lines 25-25
The full include-list for qt/splashscreen.cpp:
#include <qt/splashscreen.h>
#include <QtCore/qglobal.h> // for QFlags
#include <clientversion.h> // for FormatFullVersion
#include <config/bitcoin-config.h> // for ENABLE_WALLET, COPYRIGHT_YEAR, PACKAGE_NAME
#include <interfaces/handler.h> // for Handler
#include <interfaces/node.h> // for Node
#include <interfaces/wallet.h> // for Wallet
#include <qt/networkstyle.h> // for NetworkStyle
#include <util.h> // for _, CopyrightHolders
#include <boost/bind/arg.hpp> // for arg
#include <boost/bind/bind.hpp> // for bind, bind_t
#include <boost/bind/placeholders.hpp> // for _1, _2, _3
#include <functional> // for __base
#include <string> // for operator+, string
#include <type_traits> // for move
#include "qapplication.h" // for QApplication
#include "qbrush.h" // for QRadialGradient
#include "qchar.h" // for operator==, QChar
#include "qcoreapplication.h" // for QCoreApplication
#include "qcoreevent.h" // for QEvent, QEvent::KeyPress
#include "qdesktopwidget.h" // for QDesktopWidget
#include "qevent.h" // for QCloseEvent, QKeyEvent, QPaintEvent (ptr only)
#include "qfont.h" // for QFont, QFont::Bold
#include "qfontmetrics.h" // for QFontMetrics
#include "qglobal.h" // for QT_VERSION, Q_UNUSED
#include "qguiapplication.h" // for QGuiApplication
#include "qicon.h" // for QIcon
#include "qobject.h" // for QObject
#include "qpainter.h" // for QPainter
#include "qpoint.h" // for QPoint, operator-, QPointF
#include "qrect.h" // for QRect
#include "qsize.h" // for QSize
#include "tinyformat.h" // for strprintf
---
make[2]: *** [qt/qt_libbitcoinqt_a-splashscreen.o] Error 47
CXX qt/qt_libbitcoinqt_a-coincontroltreewidget.o
qt/rpcconsole.h should add these lines:
#include <stddef.h> // for size_t
#include <string> // for string
#include "qglobal.h" // for quint64, QT_BEGIN_NAMESPACE, QT_END_NAMESPACE
#include "qlist.h" // for QList
#include "qobjectdefs.h" // for Q_SLOTS, Q_OBJECT, Q_SIGNALS
#include "qstring.h" // for QString
#include "qstringlist.h" // for QStringList
#include "qthread.h" // for QThread
#include "qwidget.h" // for QWidget
class QCompleter;
class QDateTime;
class QEvent;
class QHideEvent;
class QKeyEvent;
class QObject;
class QPoint;
class QResizeEvent;
class QShowEvent;
struct CNodeCombinedStats;
qt/rpcconsole.h should remove these lines:
- #include <qt/guiutil.h> // lines 8-8
- #include <qt/peertablemodel.h> // lines 9-9
- #include <QCompleter> // lines 14-14
- #include <QThread> // lines 15-15
- #include <QWidget> // lines 13-13
The full include-list for qt/rpcconsole.h:
#include <net.h> // for NodeId
#include <stddef.h> // for size_t
#include <string> // for string
#include "qglobal.h" // for quint64, QT_BEGIN_NAMESPACE, QT_END_NAMESPACE
#include "qlist.h" // for QList
#include "qobjectdefs.h" // for Q_SLOTS, Q_OBJECT, Q_SIGNALS
#include "qstring.h" // for QString
#include "qstringlist.h" // for QStringList
#include "qthread.h" // for QThread
#include "qwidget.h" // for QWidget
class ClientModel; // lines 17-17
class PlatformStyle; // lines 18-18
class QCompleter;
class QDateTime;
class QEvent;
class QHideEvent;
class QItemSelection; // lines 32-32
class QKeyEvent;
class QMenu; // lines 31-31
class QObject;
class QPoint;
class QResizeEvent;
class QShowEvent;
class RPCTimerInterface; // lines 19-19
class WalletModel; // lines 20-20
namespace Ui { class RPCConsole; } // lines 27-27
namespace interfaces { class Node; } // lines 23-23
struct CNodeCombinedStats;
---
qt/rpcconsole.cpp should add these lines:
#include <QtCore/qglobal.h> // for QFlags, Q_OS_MAC
#include <assert.h> // for assert
#include <stdint.h> // for int64_t
#include <stdlib.h> // for size_t, atoi
#include <cctype> // for isdigit
#include <exception> // for exception
#include <functional> // for function
#include <stdexcept> // for runtime_error
#include <type_traits> // for enable_if<>::type
#include <utility> // for pair, make_pair
#include <vector> // for vector, vector<>::value_type, __vector_base<>::value_type
#include "addrdb.h" // for BanReasonManuallyAdded
#include "net.h" // for CNodeStats, NodeId
#include "net_processing.h" // for CNodeStateStats
#include "netaddress.h" // for CSubNet
#include "protocol.h" // for CAddress
#include "qabstractitemmodel.h" // for QModelIndex, QModelIndexList
#include "qabstractitemview.h" // for QAbstractItemView, QAbstractItemView::NoEditTriggers, QAbstractItemView::SelectRows, QAbstractItemView::ExtendedSelection, QAbstractItemView::SingleSelection
#include "qaction.h" // for QAction
#include "qapplication.h" // for QApplication
#include "qbytearray.h" // for QByteArray
#include "qcombobox.h" // for QComboBox
#include "qcompleter.h" // for QCompleter, QCompleter::CaseSensitivelySortedModel
#include "qcoreevent.h" // for QEvent, QEvent::KeyPress
#include "qcursor.h" // for QCursor
#include "qdatetime.h" // for QTime, QDateTime
#include "qdesktopwidget.h" // for QDesktopWidget
#include "qevent.h" // for QKeyEvent, QHideEvent (ptr only), QResizeEvent (ptr only), QShowEvent (ptr only)
#include "qfont.h" // for QFont
#include "qfontinfo.h" // for QFontInfo
#include "qheaderview.h" // for QHeaderView
#include "qimage.h" // for QImage
#include "qitemselectionmodel.h" // for QItemSelectionModel, QItemSelection
#include "qlabel.h" // for QLabel
#include "qlineedit.h" // for QLineEdit
#include "qmenu.h" // for QMenu
#include "qmessagebox.h" // for QMessageBox
#include "qnamespace.h" // for CustomContextMenu, CaseInsensitive, ControlModifier, DirectConnection, IgnoreAspectRatio, Key_Down, Key_Enter, Key_Escape, Key_Insert, Key_PageDown, Key_PageUp, Key_Return, Key_Tab, Key_Up, Key_V, KeyboardModifiers, ShiftModifier, SmoothTransformation
#include "qobject.h" // for QObject
#include "qpoint.h" // for operator-, QPoint
#include "qpushbutton.h" // for QPushButton
#include "qrect.h" // for QRect
#include "qscrollbar.h" // for QScrollBar
#include "qsettings.h" // for QSettings
#include "qsignalmapper.h" // for QSignalMapper
#include "qsize.h" // for QSize
#include "qt/guiutil.h" // for formatBytes, formatDurationStr, formatPingTime, getEntryData, HtmlEscape, fixedPitchFont, formatServicesStr, formatTimeOffset, openDebugLogfile
#include "qt/peertablemodel.h" // for CNodeCombinedStats, PeerTableModel, PeerTableModel::NetNodeId, PeerTableModel::Address, PeerTableModel::Ping, PeerTableModel::Subversion
#include "qt/trafficgraphwidget.h" // for TrafficGraphWidget
#include "qtableview.h" // for QTableView
#include "qtabwidget.h" // for QTabWidget
#include "qtextdocument.h" // for QTextDocument, QTextDocument::ImageResource
#include "qtextedit.h" // for QTextEdit
#include "qtimer.h" // for QTimer
#include "qurl.h" // for QUrl
#include "qvariant.h" // for QVariant
#include "utiltime.h" // for GetSystemTimeInSeconds
qt/rpcconsole.cpp should remove these lines:
- #include <openssl/crypto.h> // lines 23-23
- #include <util.h> // lines 21-21
- #include <wallet/wallet.h> // lines 29-29
- #include <QDesktopWidget> // lines 32-32
- #include <QKeyEvent> // lines 33-33
- #include <QMenu> // lines 34-34
- #include <QMessageBox> // lines 35-35
- #include <QScrollBar> // lines 36-36
- #include <QSettings> // lines 37-37
- #include <QSignalMapper> // lines 38-38
- #include <QStringList> // lines 41-41
- #include <QTime> // lines 39-39
- #include <QTimer> // lines 40-40
- #include <qt/rpcconsole.moc> // lines 131-131
The full include-list for qt/rpcconsole.cpp:
#include <qt/rpcconsole.h>
#include <QtCore/qglobal.h> // for QFlags, Q_OS_MAC
#include <assert.h> // for assert
#include <chainparams.h> // for Params, CChainParams
#include <config/bitcoin-config.h> // for ENABLE_WALLET, PACKAGE_NAME
#include <db_cxx.h> // for DbEnv
#include <interfaces/node.h> // for Node
#include <netbase.h> // for LookupSubNet
#include <qt/bantablemodel.h> // for BanTableModel, BanTableModel::Address, BanTableModel::Bantime
#include <qt/clientmodel.h> // for ClientModel, CONNECTIONS_IN, CONNECTIONS_OUT
#include <qt/forms/ui_debugwindow.h> // for RPCConsole
#include <qt/platformstyle.h> // for PlatformStyle
#include <qt/walletmodel.h> // for WalletModel
#include <rpc/client.h> // for RPCConvertValues
#include <rpc/server.h> // for RPCTimerInterface, RPCTimerBase
#include <stdint.h> // for int64_t
#include <stdlib.h> // for size_t, atoi
#include <univalue.h> // for UniValue, find_value
#include <cctype> // for isdigit
#include <exception> // for exception
#include <functional> // for function
#include <stdexcept> // for runtime_error
#include <type_traits> // for enable_if<>::type
#include <utility> // for pair, make_pair
#include <vector> // for vector, vector<>::value_type, __vector_base<>::value_type
#include "addrdb.h" // for BanReasonManuallyAdded
#include "net.h" // for CNodeStats, NodeId
#include "net_processing.h" // for CNodeStateStats
#include "netaddress.h" // for CSubNet
#include "protocol.h" // for CAddress
#include "qabstractitemmodel.h" // for QModelIndex, QModelIndexList
#include "qabstractitemview.h" // for QAbstractItemView, QAbstractItemView::NoEditTriggers, QAbstractItemView::SelectRows, QAbstractItemView::ExtendedSelection, QAbstractItemView::SingleSelection
#include "qaction.h" // for QAction
#include "qapplication.h" // for QApplication
#include "qbytearray.h" // for QByteArray
#include "qcombobox.h" // for QComboBox
#include "qcompleter.h" // for QCompleter, QCompleter::CaseSensitivelySortedModel
#include "qcoreevent.h" // for QEvent, QEvent::KeyPress
#include "qcursor.h" // for QCursor
#include "qdatetime.h" // for QTime, QDateTime
#include "qdesktopwidget.h" // for QDesktopWidget
#include "qevent.h" // for QKeyEvent, QHideEvent (ptr only), QResizeEvent (ptr only), QShowEvent (ptr only)
#include "qfont.h" // for QFont
#include "qfontinfo.h" // for QFontInfo
#include "qheaderview.h" // for QHeaderView
#include "qimage.h" // for QImage
#include "qitemselectionmodel.h" // for QItemSelectionModel, QItemSelection
#include "qlabel.h" // for QLabel
#include "qlineedit.h" // for QLineEdit
#include "qmenu.h" // for QMenu
#include "qmessagebox.h" // for QMessageBox
#include "qnamespace.h" // for CustomContextMenu, CaseInsensitive, ControlModifier, DirectConnection, IgnoreAspectRatio, Key_Down, Key_Enter, Key_Escape, Key_Insert, Key_PageDown, Key_PageUp, Key_Return, Key_Tab, Key_Up, Key_V, KeyboardModifiers, ShiftModifier, SmoothTransformation
#include "qobject.h" // for QObject
#include "qpoint.h" // for operator-, QPoint
#include "qpushbutton.h" // for QPushButton
#include "qrect.h" // for QRect
#include "qscrollbar.h" // for QScrollBar
#include "qsettings.h" // for QSettings
#include "qsignalmapper.h" // for QSignalMapper
#include "qsize.h" // for QSize
#include "qt/guiutil.h" // for formatBytes, formatDurationStr, formatPingTime, getEntryData, HtmlEscape, fixedPitchFont, formatServicesStr, formatTimeOffset, openDebugLogfile
#include "qt/peertablemodel.h" // for CNodeCombinedStats, PeerTableModel, PeerTableModel::NetNodeId, PeerTableModel::Address, PeerTableModel::Ping, PeerTableModel::Subversion
#include "qt/trafficgraphwidget.h" // for TrafficGraphWidget
#include "qtableview.h" // for QTableView
#include "qtabwidget.h" // for QTabWidget
#include "qtextdocument.h" // for QTextDocument, QTextDocument::ImageResource
#include "qtextedit.h" // for QTextEdit
#include "qtimer.h" // for QTimer
#include "qurl.h" // for QUrl
#include "qvariant.h" // for QVariant
#include "utiltime.h" // for GetSystemTimeInSeconds
---
make[2]: *** [qt/qt_libbitcoinqt_a-rpcconsole.o] Error 97
CXX qt/qt_libbitcoinqt_a-editaddressdialog.o
Cycle in include-mapping:
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/variant/detail/substitute.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp> ->
<boost/preprocessor/iteration/detail/iter/forward1.hpp>
/Users/ben/Development/OpenSource/include-what-you-use/iwyu_include_picker.cc:1162: Assertion failed: Cycle in include-mapping
/bin/sh: line 1: 77942 Abort trap: 6 ~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/local/include -I./leveldb/include -I./leveldb/helpers/memenv -I/usr/local/Cellar/openssl/1.0.2o_1/include -I/usr/local/Cellar/openssl/1.0.2o_1/include -I./secp256k1/include -I./univalue/include -DQT_NO_KEYWORDS -I/usr/local/Cellar/qt/5.10.0_1/include/QtNetwork -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtWidgets -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtGui -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtCore -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtDBus -I/usr/local/Cellar/qt/5.10.0_1/include -I/usr/local/Cellar/qt/5.10.0_1/include/QtCore -I/usr/local/Cellar/qt/5.10.0_1/include -D_THREAD_SAFE -I/usr/local/Cellar/protobuf/3.5.1/include -I/usr/local/opt/llvm/include -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -Wstack-protector -fstack-protector-all -Wall -Wextra -Wformat -Wvla -Wformat-security -Wthread-safety-analysis -Wrange-loop-analysis -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough -g -O2 -MT qt/qt_libbitcoinqt_a-addresstablemodel.o -MD -MP -MF qt/.deps/qt_libbitcoinqt_a-addresstablemodel.Tpo -c -o qt/qt_libbitcoinqt_a-addresstablemodel.o `test -f 'qt/addresstablemodel.cpp' || echo './'`qt/addresstablemodel.cpp
make[2]: *** [qt/qt_libbitcoinqt_a-addresstablemodel.o] Error 134
CXX qt/qt_libbitcoinqt_a-openuridialog.o
qt/utilitydialog.h should add these lines:
#include "qdialog.h" // for QDialog
#include "qnamespace.h" // for WindowFlags
#include "qobjectdefs.h" // for Q_OBJECT, Q_SLOTS
#include "qstring.h" // for QString
#include "qwidget.h" // for QWidget
class QCloseEvent;
class QObject;
qt/utilitydialog.h should remove these lines:
- #include <QDialog> // lines 8-8
- #include <QObject> // lines 9-9
The full include-list for qt/utilitydialog.h:
#include "qdialog.h" // for QDialog
#include "qnamespace.h" // for WindowFlags
#include "qobjectdefs.h" // for Q_OBJECT, Q_SLOTS
#include "qstring.h" // for QString
#include "qwidget.h" // for QWidget
class BitcoinGUI; // lines 11-11
class QCloseEvent;
class QObject;
namespace Ui { class HelpMessageDialog; } // lines 18-18
namespace interfaces { class Node; } // lines 14-14
---
qt/utilitydialog.cpp should add these lines:
#include <string> // for string
#include "qboxlayout.h" // for QVBoxLayout
#includ
View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment