Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Dec 2, 2023

Don't declare PyBool_Type, PyLong_Type and PySys_Audit() twice, but only once.

Compiler warnings seen by building Python with gcc -Wredundant-decls.

Don't declare PyBool_Type, PyLong_Type and PySys_Audit() twice, but only once. Compiler warnings seen by building Python with gcc -Wredundant-decls.
@vstinner vstinner merged commit 1f2a676 into python:main Dec 3, 2023
@vstinner vstinner deleted the redundant_declr_include branch December 3, 2023 11:16
@bedevere-app
Copy link

bedevere-app bot commented Dec 3, 2023

GH-112650 is a backport of this pull request to the 3.12 branch.

vstinner added a commit to vstinner/cpython that referenced this pull request Dec 3, 2023
Don't declare PyBool_Type and PyLong_Type twice, but only once. Compiler warnings seen by building Python with gcc -Wredundant-decls.
vstinner added a commit that referenced this pull request Dec 3, 2023
…112650) gh-106560: Fix redundant declarations in Include/ (#112611) Don't declare PyBool_Type and PyLong_Type twice, but only once. Compiler warnings seen by building Python with gcc -Wredundant-decls.
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Don't declare PyBool_Type, PyLong_Type and PySys_Audit() twice, but only once. Compiler warnings seen by building Python with gcc -Wredundant-decls.
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
Don't declare PyBool_Type, PyLong_Type and PySys_Audit() twice, but only once. Compiler warnings seen by building Python with gcc -Wredundant-decls.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant