This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author colesbury
Recipients colesbury, vstinner
Date 2020-02-06.17:09:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581008979.02.0.137849512464.issue39571@roundup.psfhosted.org>
In-reply-to
Content
A recent commit added a typedef for PyTypeObject in Include/object.h

https://github.com/python/cpython/commit/0e4e735d06967145b49fd00693627f3624991dbc

This duplicates the typedef in Include/cpython/object.h. Building with clang now issues a warning:

./Include/cpython/object.h:274:3: warning: redefinition of typedef 'PyTypeObject' is a C11 feature [-Wtypedef-redefinition]

This is due to the combination of `-Wall` and `-std=c99`. GCC will only warn if the `-pedantic` option is specified.
History
Date User Action Args
2020-02-06 17:09:39colesburysetrecipients: + colesbury, vstinner
2020-02-06 17:09:39colesburysetmessageid: <1581008979.02.0.137849512464.issue39571@roundup.psfhosted.org>
2020-02-06 17:09:38colesburylinkissue39571 messages
2020-02-06 17:09:38colesburycreate