Gfortran from SVN: "Error: Syntax error in argument list at (1)"
François-Xavier Coudert
fxcoudert@gmail.com
Fri May 4 08:14:00 GMT 2007
Quoting http://gcc.gnu.org/onlinedocs/gfortran/Fortran-Dialect-Options.html:
> -ffree-line-length-n: Set column after which characters are ignored in typical free-form lines in
> the source file. The default value is 132. n may be `none', meaning that the entire line is
> meaningful. -ffree-line-length-0 means the same thing as -ffree-line-length-none.
The lines in your code are longer than is allowed by default. For that
reason, they get truncated, thus generating an invalid syntax. You can
get rid of this limitation by using the option
-ffree-line-length-none, which allows your code to compile.
FX
More information about the Fortran
mailing list