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: Don't define 'static_assert' in C++11 where is a keyword to avoid UB #93700

Merged
merged 2 commits into from
Jun 13, 2022

Conversation

pablogsal
Copy link
Member

No description provided.

Include/pymacro.h Show resolved Hide resolved
Include/pymacro.h Outdated Show resolved Hide resolved
Include/pymacro.h Show resolved Hide resolved
Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@@ -0,0 +1,3 @@
Avoid defining the ``static_assert`` when compiling with C++ 11, where this
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can move this NEWS entry to Build, or C API, category.

@miss-islington
Copy link
Contributor

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

@pablogsal pablogsal added needs backport to 3.11 only security fixes and removed needs backport to 3.11 only security fixes labels Jun 16, 2022
@miss-islington
Copy link
Contributor

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

@pablogsal pablogsal deleted the 91731 branch June 16, 2022 14:25
@bedevere-bot
Copy link

GH-93907 is a backport of this pull request to the 3.11 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Jun 16, 2022
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.

5 participants