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 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DBOOST_NO_CXX98_FUNCTION_BASE -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/include -I/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/secp256k1/include -O2 -std=c++20 -fPIC -fvisibility=default -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 -MD -MT _deps/bitcoin-build/src/kernel/CMakeFiles/bitcoinkernel.dir/__/util/fs_helpers.cpp.o -MF _deps/bitcoin-build/src/kernel/CMakeFiles/bitcoinkernel.dir/__/util/fs_helpers.cpp.o.d -o _deps/bitcoin-build/src/kernel/CMakeFiles/bitcoinkernel.dir/__/util/fs_helpers.cpp.o -c /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/util/fs_helpers.cpp

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

Target: bitcoinkernel

Target Type: STATIC_LIBRARY

Source: /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/util/fs_helpers.cpp

Language: C++

Config: Release

stderr:

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

/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/util/fs_helpers.h should add these lines:
#include <string>     // for string

/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/util/fs_helpers.h should remove these lines:

The full include-list for /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/util/fs_helpers.h:
#include <util/fs.h>  // for path, perms
#include <cstdint>    // for uint64_t
#include <cstdio>     // for FILE
#include <iosfwd>     // for streamsize, streampos
#include <limits>     // for numeric_limits
#include <optional>   // for optional
#include <string>     // for string
---

/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/util/fs_helpers.cpp should add these lines:
#include <features.h>              // for _POSIX_C_SOURCE

/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/util/fs_helpers.cpp should remove these lines:

The full include-list for /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/util/fs_helpers.cpp:
#include <util/fs_helpers.h>
#include <bitcoin-build-config.h>  // for HAVE_FDATASYNC, HAVE_POSIX_FALLOCATE
#include <fcntl.h>                 // for posix_fallocate, SEEK_SET
#include <features.h>              // for _POSIX_C_SOURCE
#include <logging.h>               // for LogPrintFormatInternal, LogPrintf
#include <sync.h>                  // for MaybeCheckNotHeld, LOCK, GUARDED_BY
#include <sys/resource.h>          // for rlimit, getrlimit, RLIMIT_NOFILE
#include <unistd.h>                // for fdatasync, fsync, ftruncate, off_t
#include <util/fs.h>               // for perms, FileLock, operator|, path
#include <util/syserror.h>         // for SysErrorString
#include <cerrno>                  // for errno, EINVAL
#include <fstream>                 // for basic_ifstream, basic_ios
#include <map>                     // for map
#include <memory>                  // for unique_ptr, allocator, make_unique
#include <optional>                // for optional, nullopt
#include <string>                  // for operator==, string, operator<=>
#include <system_error>            // for error_code
#include <utility>                 // for move
---
Status: 0
Loading...