syntax error on 4.9.2
Arjen Markus
arjen.markus895@gmail.com
Tue Nov 15 12:50:00 GMT 2016
Actually, it has an explicit interface - any routine appearing in a
CONTAINS section has, as it is either an internal routine or a routine
in a module.
Regards,
Arjen
2016-11-15 13:40 GMT+01:00 Mahmood Naderan <mahmood.nt@gmail.com>:
>>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