mirror of
https://github.com/python/cpython.git
synced 2025-11-01 14:11:41 +00:00
gh-129666: Revert "gh-129666: Add C11/C++11 to docs and -pedantic-errors to GCC/clang test_c[pp]ext tests (GH-130686)" (GH-130688)
This reverts commit 003e6d2b97.
This commit is contained in:
parent
003e6d2b97
commit
ab11c09705
7 changed files with 0 additions and 62 deletions
|
|
@ -18,14 +18,6 @@
|
|||
# a C++ extension using the Python C API does not emit C++ compiler
|
||||
# warnings
|
||||
'-Werror',
|
||||
|
||||
# Ask for strict(er) compliance with the standard.
|
||||
'-pedantic-errors',
|
||||
|
||||
# But allow C++11 features for -std=C++03. We use:
|
||||
# - `long long` (-Wno-c++11-long-long)
|
||||
# - comma at end of `enum` lists (no narrower GCC option exists)
|
||||
'-Wno-c++11-extensions',
|
||||
]
|
||||
else:
|
||||
# MSVC compiler flags
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue