◐ Shell
clean mode source ↗

listobject.h:33:36: error: void value not ignored as it ought to be

Bug report
When running a "python3 setup install",I got an error:

/usr/include/python3.10/cpython/listobject.h:33:36: error: void value not ignored as it ought to be
   33 | #define PyList_SET_ITEM(op, i, v) ((void)(_PyList_CAST(op)->ob_item[i] = (v)))
      |                                   ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cursor.c:1088:13: note: in expansion of macro ‘PyList_SET_ITEM’

Your environment

  • CPython versions tested on: 0.29.28
  • Operating system and architecture: ubuntu 22.04 x86_64