Build breaks with gfortran10: Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/REAL(8)).
/disk-samsung/freebsd-ports/science/siesta/work/siesta-4.1.5/Src/diag2k.F:296:53:
218 | call cdiag(Haux,Saux,2*nuotot,2*nuo,2*nuotot,eo(1,ik),psi,
| 2
......
296 | call cdiag(Haux,Saux,2*nuotot,2*nuo,2*nuotot,caux,psi,
| 1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/REAL(8)).
/disk-samsung/freebsd-ports/science/siesta/work/siesta-4.1.5/Src/diag2k.F:326:55:
218 | call cdiag(Haux,Saux,2*nuotot,2*nuo,2*nuotot,eo(1,ik),psi,
| 2
......
326 | call cdiag(Haux,Saux,2*nuotot,2*nuo,2*nuotot,caux,psi,
| 1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/REAL(8)).
Version: 4.1.5
OS: FreeBSD 12.2
Edited by yuri