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/table.cc.o -MF _deps/bitcoin-build/src/CMakeFiles/leveldb.dir/leveldb/table/table.cc.o.d -o _deps/bitcoin-build/src/CMakeFiles/leveldb.dir/leveldb/table/table.cc.o -c /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/leveldb/table/table.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/table.cc

Language: C++

Config: Release

stderr:

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

/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/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; }

/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/leveldb/include/leveldb/table.h should remove these lines:
- #include "leveldb/iterator.h"  // lines 11-11
- namespace leveldb { class Block; }  // lines 15-15
- namespace leveldb { class BlockHandle; }  // lines 16-16
- namespace leveldb { class TableCache; }  // lines 21-21

The full include-list for /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/leveldb/include/leveldb/table.h:
#include <stdint.h>          // for uint64_t
#include "leveldb/export.h"  // for LEVELDB_EXPORT
#include "leveldb/slice.h"   // for Slice
#include "leveldb/status.h"  // for Status
namespace leveldb { class Footer; }  // lines 17-17
namespace leveldb { class Iterator; }
namespace leveldb { class RandomAccessFile; }  // lines 19-19
namespace leveldb { struct Options; }  // lines 18-18
namespace leveldb { struct ReadOptions; }  // lines 20-20
namespace leveldb { struct Table::Rep; }  // lines 63-63
---

/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/leveldb/table/table.cc should add these lines:
#include <string>                      // for allocator, string
#include "leveldb/iterator.h"          // for Iterator, NewErrorIterator

/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/leveldb/table/table.cc should remove these lines:

The full include-list for /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/leveldb/table/table.cc:
#include "leveldb/table.h"
#include <string>                      // for allocator, 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
#include "table/two_level_iterator.h"  // for NewTwoLevelIterator
#include "util/coding.h"               // for EncodeFixed64
---
Status: 0
Loading...