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=gcc -- /usr/bin/clang-17 -Dbtck_python_EXPORTS -I/home/runner/work/btck/btck/include -isystem /usr/include/python3.12 -O3 -DNDEBUG -fPIC -fvisibility=hidden -MD -MT bindings/python/CMakeFiles/btck-python.dir/src/chain.c.o -MF bindings/python/CMakeFiles/btck-python.dir/src/chain.c.o.d -o bindings/python/CMakeFiles/btck-python.dir/src/chain.c.o -c /home/runner/work/btck/btck/bindings/python/src/chain.c

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

Target: btck-python

Target Type: MODULE_LIBRARY

Source: /home/runner/work/btck/btck/bindings/python/src/chain.c

Language: C

Config: Release

stderr:

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

/home/runner/work/btck/btck/bindings/python/src/chain.h should add these lines:
#include <pytypedefs.h>  // for PyTypeObject
#include "object.h"      // for _typeobject

/home/runner/work/btck/btck/bindings/python/src/chain.h should remove these lines:
- #include <Python.h>  // lines 7-7
- #include <stdbool.h>  // lines 8-8

The full include-list for /home/runner/work/btck/btck/bindings/python/src/chain.h:
#include <pytypedefs.h>  // for PyTypeObject
#include "object.h"      // for _typeobject
---

/home/runner/work/btck/btck/bindings/python/src/chain.c should add these lines:
#include <object.h>     // for lenfunc, destructor, ssizeargfunc, PyObject_HEAD
#include <pyerrors.h>   // for PyErr_SetString, PyExc_IndexError
#include <pymacro.h>    // for Py_UNUSED
#include <pyport.h>     // for Py_ssize_t
#include <stddef.h>     // for NULL

/home/runner/work/btck/btck/bindings/python/src/chain.c should remove these lines:

The full include-list for /home/runner/work/btck/btck/bindings/python/src/chain.c:
#include "chain.h"
#include <btck/btck.h>  // for btck_Chain_At, btck_Chain_GetSize, btck_Chain...
#include <object.h>     // for lenfunc, destructor, ssizeargfunc, PyObject_HEAD
#include <pyerrors.h>   // for PyErr_SetString, PyExc_IndexError
#include <pymacro.h>    // for Py_UNUSED
#include <pyport.h>     // for Py_ssize_t
#include <stddef.h>     // for NULL
#include "_slice.h"     // for Slice_subscript
#include "block.h"      // for Block_New
---
Status: 0
Loading...