Fortran compilation error under gcc 10 on OS X
astrobatty opened this issue · comments
Attila Bódi commented
I tried to install nufft
using gfortran which comes with gcc version 10, but due to the following errors it failed:
16 | call dcftb1 (n,c,wsave,wsave(iw1),wsave(iw2))
|
Error: Type mismatch in argument 'ifac' at (1); passed REAL(8) to INTEGER(4)
src/nufft/dfftpack.f:27:72:
27 | call dcftf1 (n,c,wsave,wsave(iw1),wsave(iw2))
|
Error: Type mismatch in argument 'ifac' at (1); passed REAL(8) to INTEGER(4)
src/nufft/dfftpack.f:38:72:
38 | call dcfti1 (n,wsave(iw1),wsave(iw2))
|
Error: Type mismatch in argument 'ifac' at (1); passed REAL(8) to INTEGER(4)
However if I downgrade gcc to version 6 it compiles.