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

gh-91731: Build Python with -std=c11#91733
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
MemberAuthor

cc @encukou@erlend-aasland

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

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

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

@vstinner

Copy link
Copy Markdown
MemberAuthor

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:mainApr 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
MemberAuthor

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

@vstinnervstinner mentioned this pull request Apr 20, 2022
@h-vetinarih-vetinari mentioned this pull request Oct 25, 2022
1 task
Sign up for freeto 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

@vstinner@corona10@erlend-aasland@bedevere-bot