Skip to content

Commit 68ae13f

Browse files
committed
Don't use -pedantic-errors on the internal C API
1 parent 15ab9d4 commit 68ae13f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_cppext/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def main():
5959
else:
6060
cppflags.append(f'-std={std}')
6161

62-
if limited or (std != 'c++03'):
62+
if limited or (std != 'c++03') and not internal:
6363
# See CPPFLAGS_PEDANTIC docstring
6464
cppflags.extend(CPPFLAGS_PEDANTIC)
6565

0 commit comments

Comments
 (0)