Compilation failure with GCC 15 + Python 3.12: mypyc/lib-rt/pythoncapi_compat.h:41:11: error: ‘_Py_NULL’ redefined [-Werror]
#18698
Labels
bug
mypy got something wrong
Bug Report
Hello, in Debian we are testing the upcoming GCC 15 release, and we found a compilation error when compiling for Python 3.12.
The Debian bug report is at https://bugs.debian.org/1097426
To Reproduce
Compile using GCC 15.x
Expected Behavior
Compilation suceeds
Actual Behavior
Your Environment
The text was updated successfully, but these errors were encountered: