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

Language: C++

Config: Release

stderr:

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

/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/leveldb/db/table_cache.h should add these lines:
#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; }

/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/leveldb/db/table_cache.h should remove these lines:
- #include "db/dbformat.h"  // lines 14-14
- #include "leveldb/table.h"  // lines 16-16
- #include "port/port.h"  // lines 17-17

The full include-list for /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/leveldb/db/table_cache.h:
#include <stdint.h>          // for uint64_t
#include <string>            // for string
#include "leveldb/cache.h"   // for Cache
#include "leveldb/slice.h"   // for Slice
#include "leveldb/status.h"  // for Status
namespace leveldb { class Env; }  // lines 21-21
namespace leveldb { class Iterator; }
namespace leveldb { class Table; }
namespace leveldb { struct Options; }
namespace leveldb { struct ReadOptions; }
---

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

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

The full include-list for /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/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
---
Status: 0
Loading...