This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: erroneous warning about line truncation


On Monday 02 November 2009 19:59:29 Hans Horn wrote:

To add my 2ct ...

> may be I try one more time, this time by attaching the source.
> line 5 emits warning, line 4 not - both lines are longer than 72 chars
> if the comments are taken into consideration. the actual statements
> (decls. of stupid_dummy_variable2,3) both end at column 36.

Line 4 indicates within the valid range that the remainder is a comment while 
line 5 simply trails over the edge and there still _might_ be something 
significant there. The warning is probably emitted while going through the 
characters of the line without trimming comments first, I didn't check the 
details.

Cheers

	Daniel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]