Open glaubitz opened 5 months ago
I hit this error as well, on macOS with clang 16.
src/pylzma/pylzma_aes.c:158:5: error: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'long') with an expression of type 'void *' [-Wint-conversion]
I get the error on python versions lower than 12. On python 12, pylzma installs without errors or warnings (well, except the deprecation warning about legacy 'setup.py install' method
).
On affected python versions, a workaround exists:
CFLAGS=-Wno-int-conversion pip install pylzma
Trying to build
pylzma
with GCC 14 fails with:To reproduce the error, build
pylzma
with GCC 14 as the default C/C++ compiler.