syntax error on 4.9.2

Mahmood Naderan mahmood.nt@gmail.com
Tue Nov 15 12:41:00 GMT 2016


>First, try updating to a newer version of gfortran.  There's been 8
>releases since 4.9.2.
But I think that it is compatible with old compilers.


>Second,  there is way too little information to help you.  Does xml_tag
>have an implicit or explicit interface?
I am not a fortran expert. I want to just compile and run the package.


The code looks like
      CONTAINS
        SUBROUTINE XML_TAG( tag, name, type, param, comment )
          IMPLICIT NONE
          CHARACTER (LEN=*) :: tag
          CHARACTER (LEN=*),OPTIONAL :: name
          CHARACTER (LEN=*),OPTIONAL :: type
          CHARACTER (LEN=*),OPTIONAL :: param
          CHARACTER (LEN=*),OPTIONAL :: comment

        ! check whether maxstringlen is sufficiently large
          IF (LEN(tag) > maxstringlen) THEN
     ....
     ....


So it seems that it is has an implicit interface.


Regards,
Mahmood



More information about the Fortran mailing list