syntax error on 4.9.2

Thomas Koenig tkoenig@netcologne.de
Tue Nov 15 14:45:00 GMT 2016


Am 15.11.2016 um 06:29 schrieb Mahmood Naderan:
> Hi
> I am running the following command to compile a fortran code
>
>     gfortran -ffree-form -ffree-line-length-0 -ff2c
> -fno-second-underscore -I/opt/fftw-3.3.5/include -O3 -c xml.f90
> -I/opt/openmpi-2.0.1/include -pthread -I/opt/openmpi-2.0.1/lib
>     xml.F:641.46:
>
>            CALL XML_TAG("set", comment="spin "
>                                               1
>     Error: Syntax error in argument list at (1)
>
>
> That line is
>
>     CALL XML_TAG("set", comment="spin "//TRIM(ADJUSTL(strcounter)))

Can you supply a test case that can be compiled?  As it is, there
is insufficient information to tell what might or might not be wrong.
Descriptions usually don't help in such a case, because more often than
not the description is about what the poster _thinks_ is happening,
as opposed to what actually happens.

Regards

	Thomas



More information about the Fortran mailing list