diff options
author | Petr Viktorin <encukou@gmail.com> | 2025-02-28 17:05:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-28 16:05:36 +0000 |
commit | ab11c097052757b79060c75dd4835c2431e752b7 (patch) | |
tree | 76ee692a42e025e5f1e2e594f5b508c1038eac43 /Lib/test/test_cppext/setup.py | |
parent | 003e6d2b9776c07147a9c628eb028fd2ac3f0008 (diff) | |
download | cpython-ab11c097052757b79060c75dd4835c2431e752b7.tar.gz cpython-ab11c097052757b79060c75dd4835c2431e752b7.zip |
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 003e6d2b9776c07147a9c628eb028fd2ac3f0008.
Diffstat (limited to 'Lib/test/test_cppext/setup.py')
-rw-r--r-- | Lib/test/test_cppext/setup.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/test/test_cppext/setup.py b/Lib/test/test_cppext/setup.py index aa09c7bc8cb..019ff18446a 100644 --- a/Lib/test/test_cppext/setup.py +++ b/Lib/test/test_cppext/setup.py @@ -18,14 +18,6 @@ if not support.MS_WINDOWS: # 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 |