Recently (April 2024), I started seeing the following error in a couple of builds on my M1 mac:
"error: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'long') with an expression of type 'void *' [-Wint-conversion]"
How do I fix it?
Downgrading xcode tools from 15.3 to 15.1 fixes the issue.
sudo rm -rf /Library/Devloper/CommandLineTools
source