]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
test_cext, test_cppext: enable /W4 warnings on Windows (#124253)
authorVictor Stinner <vstinner@python.org>
Thu, 19 Sep 2024 20:32:01 +0000 (22:32 +0200)
committerGitHub <noreply@github.com>
Thu, 19 Sep 2024 20:32:01 +0000 (22:32 +0200)
commit7a2d77c903f29d7ea08b870b8e3fa2130f667a59
treefecf94a581f31a594a86c6760261dc0b04131f30
parent5f011115943933ff36adf997c886d73ea88003fb
test_cext, test_cppext: enable /W4 warnings on Windows (#124253)

Add an explicit cast to (void*) and add Py_UNUSED() to fix some
warnings in extension.c.
Lib/test/test_cext/extension.c
Lib/test/test_cext/setup.py
Lib/test/test_cppext/setup.py