erroneous warning about line truncation

Steve Kargl sgk@troutmask.apl.washington.edu
Mon Nov 2 17:47:00 GMT 2009


On Mon, Nov 02, 2009 at 09:03:10AM -0800, Hans Horn wrote:
> Folks,
> 
> I get warnings about line truncation on fixed-form (f77) code when I 
> have inline comments starting at column 73 and beyond.
> 

Fixed-form code is restricted to 72 columns.  From the Fortran
2003 Standard.

3.3.2      Fixed source form

In fixed source form, there are restrictions on where a statement mayr
appear within a line.  If a source line contains only default kind
characters, it shall contain exactly 72 characters; otherwise, its
maximum number of characters is processor dependent.

See the gfortran manual for options that allows you to violate this
restricton.

-- 
Steve



More information about the Fortran mailing list