]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-91321: Fix test_cppext for C++03 (GH-93902) (#93904)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 16 Jun 2022 13:17:35 +0000 (06:17 -0700)
committerGitHub <noreply@github.com>
Thu, 16 Jun 2022 13:17:35 +0000 (15:17 +0200)
commit62f72e481183c89f94aa3d8e30c6d453db490561
treea8048d27959f15667eff53b63fe28469d9599c92
parentdf091e14d8c5b25b9094ebb86857e30adc8e5abb
gh-91321: Fix test_cppext for C++03 (GH-93902) (#93904)

Don't build _testcppext.cpp with -Wzero-as-null-pointer-constant when
testing C++03: only use this compiler flag with C++11.
(cherry picked from commit a38c2a61d585fce0973e93dd590551ccddd947fb)

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/setup_testcppext.py