-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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-105776: Fix test_cppext when CC contains -std=c11 option #108343
Conversation
vstinner
commented
Aug 23, 2023
•
edited by bedevere-bot
Loading
edited by bedevere-bot
- Issue: Python 3.11.4: Running "make test" fails under gcc 4.8.5 because both -std=gnu11 and -std=c++11 are specified when compiling _testcpp11ext #105776
Fix test_cppext when the C compiler command "-std=c11" option: remove "-std=" options from the compiler command.
Without this PR, test_cppext fails with these commands:
With this PR, test_cppext pass. |
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry, @vstinner, I could not cleanly backport this to |
GH-108345 is a backport of this pull request to the 3.12 branch. |
…thonGH-108343) Fix test_cppext when the C compiler command has the "-std=c11" option. Remove "-std=" options from the compiler command. (cherry picked from commit 9173b2b) Co-authored-by: Victor Stinner <vstinner@python.org>
GH-108347 is a backport of this pull request to the 3.11 branch. |
…thon#108343) Fix test_cppext when the C compiler command has the "-std=c11" option. Remove "-std=" options from the compiler command. (cherry picked from commit 9173b2b)
|
…H-108343) (#108345) gh-105776: Fix test_cppext when CC contains -std=c11 option (GH-108343) Fix test_cppext when the C compiler command has the "-std=c11" option. Remove "-std=" options from the compiler command. (cherry picked from commit 9173b2b) Co-authored-by: Victor Stinner <vstinner@python.org>