Closed tobiscode closed 1 year ago
This is due to old GCC compilers not using C99 syntax by default. To prevent this problem, you can either update the GCC compilers to a more modern version, or force the old GCC compiler to use the more modern standard by prepending the CFLAGS
environment variable when running pip
:
> CFLAGS="-std=c99" pip install disstans
This should fix the issue. The same workaround can be applied to editable installations or installations from the git repository.
I've noticed that sometimes users installing DISSTANS (or
okada_wrapper
) run into the following compilation errors: