]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1716: Windows build with python 3.12 and clang fails v9.0.1716
authorZdenek Dohnal <zdohnal@redhat.com>
Tue, 15 Aug 2023 20:52:01 +0000 (22:52 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 15 Aug 2023 20:52:01 +0000 (22:52 +0200)
commit15a0a0281a060fd5968ca2f3c80e750137106adb
tree0a37bca9a1560949672d15df5157630be645e8a3
parent7772c93a3ec1ce60469e9aea9899687ae1141f34
patch 9.0.1716: Windows build with python 3.12 and clang fails

Problem: Windows build with python 3.12 and clang fails
Solution: Remove the PyBool_Type function pointer for python 3.12

Clang on Win doesn't like non-static functions in static struct with
Python 3.12 - removing the new obfuscated function and protecting the
old PyBool function for older Pythons fixes the issue.

closes: #12800

Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Zdenek Dohnal <zdohnal@redhat.com>
src/if_python3.c
src/version.c