Benjamin Peterson <[email protected]> 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 <[email protected]>
<https://bugs.python.org/issue45459>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com