Skip to content

gh-116869: Make C API compatible with ISO C90 #116950

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Mar 18, 2024

Make the C API compatible with -Werror=declaration-after-statement compiler flag again.

Make the C API compatible with -Werror=declaration-after-statement
compiler flag again.
@vstinner
Copy link
Member Author

@jayaddison: Would you mind to double check that this change fix your issue?

@vstinner vstinner merged commit a9c304c into python:main Mar 18, 2024
@vstinner vstinner deleted the capi_isoc90 branch March 18, 2024 19:16
@vstinner vstinner added the needs backport to 3.12 only security fixes label Mar 19, 2024
@miss-islington-app
Copy link

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 19, 2024
Make the C API compatible with -Werror=declaration-after-statement
compiler flag again.
(cherry picked from commit a9c304c)

Co-authored-by: Victor Stinner <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Mar 19, 2024

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

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Mar 19, 2024
vstinner added a commit that referenced this pull request Mar 19, 2024
…7011)

gh-116869: Make C API compatible with ISO C90 (GH-116950)

Make the C API compatible with -Werror=declaration-after-statement
compiler flag again.
(cherry picked from commit a9c304c)

Co-authored-by: Victor Stinner <[email protected]>
vstinner added a commit to vstinner/cpython that referenced this pull request Mar 20, 2024
Make the C API compatible with -Werror=declaration-after-statement
compiler flag again.
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 25, 2024
Make the C API compatible with -Werror=declaration-after-statement
compiler flag again.
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 2024
Make the C API compatible with -Werror=declaration-after-statement
compiler flag again.
irl pushed a commit to defo-project/cpython that referenced this pull request Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants