This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: erroneous warning about line truncation
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Hans Horn <hannes at 2horns dot com>
- Cc: fortran at gcc dot gnu dot org
- Date: Mon, 2 Nov 2009 09:30:40 -0800
- Subject: Re: erroneous warning about line truncation
- References: <hcn3cf$824$1@ger.gmane.org>
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