Topic: Free Format source code files

I am new to Simply Fortran but am an expert at Fortran.  I 71 and have been programming in Fortran since 1966.

My first SF project is giving this error message:

      |                                                                                                                                    1
Error: Line truncated at (1) [-Werror=line-truncation]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
.\VICA30AND42VARS.F90:22:132:

but it is in an .F90 file.  Free format source code is almost unlimited in its line lengths.

It compiles fine with minSW in Code::Blocks.

Please advise.

Re: Free Format source code files

The Fortran 90 standard has a free-format line length of 132 columns, so CodeBlocks must be overriding the standard with a compiler flag.  You can change this under Simply Fortran in Project Options in the Fortran category by enabling Non-standard Line Length and entering your desired value.

Jeff Armstrong
Approximatrix, LLC