compile

command_line: /opt/hostedtoolcache/cmake/4.0.3/x64/cmake-4.0.3-linux-x86_64/bin/cmake -E __run_co_compile --iwyu=iwyu;--driver-mode=g++ -- /usr/bin/clang++-17 -DFALLTHROUGH_INTENDED=[[fallthrough]] -DHAVE_CRC32C=1 -DHAVE_FDATASYNC=1 -DHAVE_FULLFSYNC=0 -DHAVE_O_CLOEXEC=1 -DHAVE_SNAPPY=0 -DLEVELDB_PLATFORM_POSIX -I/home/runner/work/btck/btck/build/_deps/bitcoin-build/src -I/home/runner/work/btck/btck/build/_deps/bitcoin-src/src -I/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/leveldb -I/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/leveldb/include -I/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/crc32c/include -O2 -std=c++20 -fPIC -fdebug-prefix-map=/home/runner/work/btck/btck/build/_deps/bitcoin-src/src=. -fmacro-prefix-map=/home/runner/work/btck/btck/build/_deps/bitcoin-src/src=. -Wall -Wextra -Wgnu -Wformat -Wformat-security -Wvla -Wshadow-field -Wthread-safety -Wloop-analysis -Wredundant-decls -Wunused-member-function -Wdate-time -Wconditional-uninitialized -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code -Wdocumentation -Wself-assign -Wundef -Wno-unused-parameter -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -Wno-conditional-uninitialized -Wno-suggest-override -MD -MT _deps/bitcoin-build/src/CMakeFiles/leveldb.dir/leveldb/table/block.cc.o -MF _deps/bitcoin-build/src/CMakeFiles/leveldb.dir/leveldb/table/block.cc.o.d -o _deps/bitcoin-build/src/CMakeFiles/leveldb.dir/leveldb/table/block.cc.o -c /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/leveldb/table/block.cc

working_directory: "/home/runner/work/btck/btck/build"

Target: leveldb

Target Type: STATIC_LIBRARY

Source: /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/leveldb/table/block.cc

Language: C++

Config: Release

stderr:

Warning: include-what-you-use reported diagnostics:

/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/leveldb/table/block.h should add these lines:
namespace leveldb { class Iterator; }

/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/leveldb/table/block.h should remove these lines:
- #include "leveldb/iterator.h"  // lines 11-11

The full include-list for /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/leveldb/table/block.h:
#include <stddef.h>  // for size_t
#include <stdint.h>  // for uint32_t
namespace leveldb { class Block::Iter; }  // lines 32-32
namespace leveldb { class Comparator; }  // lines 16-16
namespace leveldb { class Iterator; }
namespace leveldb { struct BlockContents; }  // lines 15-15
---

/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/leveldb/table/block.cc should add these lines:
#include <assert.h>              // for assert
#include <string>                // for string
#include "leveldb/iterator.h"    // for NewEmptyIterator, NewErrorIterator
#include "leveldb/slice.h"       // for Slice
#include "leveldb/status.h"      // for Status

/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/leveldb/table/block.cc should remove these lines:
- #include <algorithm>  // lines 9-9
- #include <cstdint>  // lines 10-10
- #include <vector>  // lines 11-11
- #include "util/logging.h"  // lines 16-16

The full include-list for /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/leveldb/table/block.cc:
#include "table/block.h"
#include <assert.h>              // for assert
#include <string>                // for string
#include "leveldb/comparator.h"  // for Comparator
#include "leveldb/iterator.h"    // for NewEmptyIterator, NewErrorIterator
#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
---
Status: 0
Loading...