[issue45459] Limited API support for Py_buffer
Benjamin Peterson
report at bugs.python.org
Wed Feb 23 00:45:43 EST 2022
Benjamin Peterson <benjamin at python.org> added the comment:
clang doesn't like the typedef forward-decl:
In file included from ../cpython/Modules/_ctypes/_ctypes.c:108:
In file included from ../cpython/Include/Python.h:43:
../cpython/Include/object.h:109:3: warning: redefinition of typedef 'PyObject' is a C11 feature [-Wtypedef-redefinition]
} PyObject;
^
../cpython/Include/pybuffer.h:23:24: note: previous definition is here
typedef struct _object PyObject;
^
1 warning generated.
----------
nosy: +benjamin.peterson
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45459>
_______________________________________
More information about the Python-bugs-list
mailing list