Skip to content

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

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

vstinner merged 1 commit into
python:mainfrom
vstinner:std_c11

Conversation

@vstinner

Copy link
Copy Markdown
Member

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

@vstinner

Copy link
Copy Markdown
Member Author
@corona10

corona10 commented Apr 20, 2022 •

Copy link
Copy Markdown
Member

@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

vstinner commented Apr 20, 2022 •

Copy link
Copy Markdown
Member Author

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

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

@vstinner

Copy link
Copy Markdown
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
Copy Markdown
Contributor

Looks good

@vstinner

Copy link
Copy Markdown
Member Author

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

@vstinner vstinner mentioned this pull request Apr 20, 2022
@h-vetinari h-vetinari mentioned this pull request Oct 25, 2022
1 task done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants