Skip to content

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

Merged
vstinner merged 1 commit intopython:mainfrom
vstinner:std_c11
Apr 20, 2022
Merged

gh-91731: Build Python with -std=c11#91733
vstinner merged 1 commit intopython:mainfrom
vstinner:std_c11

Conversation

@vstinner
Copy link
Member

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

@vstinner
Copy link
Member Author

cc @encukou @erlend-aasland

@corona10
Copy link
Member

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 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

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
@vstinner vstinner deleted the std_c11 branch April 20, 2022 11:19
@erlend-aasland
Copy link
Contributor

Looks good

@vstinner
Copy link
Member Author

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.

4 participants