-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-129666: Add C11/C++11 to docs and -pedantic-errors to GCC/clang test_c[pp]ext tests #130692
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
Conversation
…clang test_c[pp]ext tests (pythonGH-130686)
Also add a check for c++03 *limited* API, which passes in pedantic mode after removing a comma in the `PySendResult` declaration, and allowing `long long`.
clang (in contrast to gcc) suppresses both warnings
when If you can/want to differ between gcc and clang, you could run the non-limited build for clang, too. |
🤖 New build scheduled with the buildbot fleet by @encukou for commit 6c714df 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F130692%2Fmerge If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
The buildbot failures are pre-existing. |
|
…ang test_c[pp]ext tests (pythonGH-130692) Disable pedantic check for c++03 (unlimited API) Also add a check for c++03 *limited* API, which passes in pedantic mode after removing a comma in the `PySendResult` declaration, and allowing `long long`.
Ask GCC/clang to more strictly validate compliance with the standards.
Add opt-outs where currently necessary.
Add a C/C++ version note to docs.
This applies #130686 again, and then does a different dance for C++03. There, I couldn't find a way to keep GCC pedantic on the full API. For the limited API, we only need to remove one comma.
I'll run the buildbots this time.
📚 Documentation preview 📚: https://cpython-previews--130692.org.readthedocs.build/