Skip to content
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

gh-91731: Build Python with -std=c11 #91733

Merged
merged 1 commit into from Apr 20, 2022
Merged

gh-91731: Build Python with -std=c11 #91733

merged 1 commit into from Apr 20, 2022

Conversation

Copy link
Member

@vstinner vstinner commented Apr 20, 2022

Python is now built with "-std=c11" compiler option, rather than
"-std=c99".

@vstinner
Copy link
Member Author

@vstinner vstinner commented Apr 20, 2022

@corona10
Copy link
Member

@corona10 corona10 commented Apr 20, 2022

@vstinner You should re-generate configure file or hard-coding change :)

Python is now built with "-std=c11" compiler option, rather than
"-std=c99".
@vstinner
Copy link
Member Author

@vstinner vstinner commented Apr 20, 2022

@vstinner You should re-generate configure file or hard-coding change :)

Oops, right. Done: I ran make regen-configure.

@vstinner
Copy link
Member Author

@vstinner vstinner commented Apr 20, 2022

I checks build logs of macOS and Ubuntu jobs: -std=c11 option is used to build Python core and to build C extensions built as shared libraries.

@vstinner vstinner merged commit aaeea78 into python:main Apr 20, 2022
13 checks passed
@vstinner vstinner deleted the std_c11 branch Apr 20, 2022
@erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented Apr 20, 2022

Looks good

@vstinner
Copy link
Member Author

@vstinner vstinner commented Apr 20, 2022

Thanks for the reviews @corona10 and @erlend-aasland.

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.

None yet

4 participants