python / cpython

The Python programming language
https://www.python.org/
Other
60.06k stars 29.09k forks source link

gh-118343: (void *) casting to avoid gcc-14 build failure issue #118430

Closed corona10 closed 3 weeks ago

corona10 commented 3 weeks ago
corona10 commented 3 weeks ago

@markshannon @gvanrossum I know that this is not a good solution, but from Fedora 40, it uses gcc-14, and the incompatible-pointer-types issue causes a build failure due to the changed compiler policy. (Now it checks incompatible-pointer-types striclty)

See a similar issue: https://forums.developer.nvidia.com/t/nvidia-modules-build-failure-with-upcoming-gcc-14-and-recent-kernels-due-to-misfiring-conftest-sh-test-heads-up/279072

cc @vstinner

corona10 commented 3 weeks ago

Well now it looks like be fixed.