]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-105059: Use GCC/clang extension for PyObject union (#107232)
authorVictor Stinner <vstinner@python.org>
Tue, 25 Jul 2023 12:27:48 +0000 (14:27 +0200)
committerGitHub <noreply@github.com>
Tue, 25 Jul 2023 12:27:48 +0000 (12:27 +0000)
commit6261585d63a31835b65d445d99dc14cca3fe9cf5
tree3b4975a5cf692c8d66a364cfe2af8e532465c299
parent2425346feeb343db686b2fb071f7bd0130452b84
gh-105059: Use GCC/clang extension for PyObject union (#107232)

Anonymous union is new in C11. To prevent compiler warning
when using -pedantic compiler option, use Clang and GCC
extension on C99 and older.
Include/object.h