Hello there
I need to edit and include some old fortran codes in my program. But i'm not familiar with fortran as i thought
The code should work but compiling it brings some errors. If I want to compile it with gfortran, the most annoying one is this regression thing:
I'm struggling with this for a while now. Are there some compiler options, that can solve this error? Or do i need to make some changes in the code?
Hopefully someone has any idea.
Thanks so far.
I need to edit and include some old fortran codes in my program. But i'm not familiar with fortran as i thought
The code should work but compiling it brings some errors. If I want to compile it with gfortran, the most annoying one is this regression thing:
Code:
sub.f90:5.6:
use interface
1
Error: 'sub' of module 'interface', imported at (1), is also the name of the current program unit
I'm struggling with this for a while now. Are there some compiler options, that can solve this error? Or do i need to make some changes in the code?
Hopefully someone has any idea.
Thanks so far.