The double complex declaration used in obe.f90 is non-standard. For the code
implicit none
double complex :: z
end
gfortran -c -std=f2018 x.f90 gives
x.f90:2:15:
2 | double complex :: z
| 1
Error: GNU Extension: DOUBLE COMPLEX at (1)
Instead, complex (kind=dp) with dp a kind constant is standard.
The
double complexdeclaration used in obe.f90 is non-standard. For the codegfortran -c -std=f2018 x.f90givesInstead,
complex (kind=dp)with dp a kind constant is standard.