This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug fortran/43078] gfortran: spurious warning of line truncation at col 72



------- Comment #3 from patrick dot wallace at stfc dot ac dot uk  2010-02-16 08:49 -------
Subject: RE:  gfortran: spurious warning of line truncation at col 72

> Works for me with both 4.4.2 and trunk.

Mystery solved.  It is to do with line endings.  When gfortran sees
a file with DOS line endings it interprets the CR and LF as separate
characters.  This is why demonstrating the effect is so slippery.

I guess gfortran is within its rights to work this way, and only
accept Unix line endings.  But I would argue that this is unhelpful,
and that it would be better to make gfortran detect the condition
and deal with it sympathetically.


Patrick Wallace
____________________________________________________________________
Space Science & Technology Department            +44-1235-445372 tel
STFC / Rutherford Appleton Laboratory            +44-1235-446362 fax
Harwell Science and Innovation Campus              ptw@star.rl.ac.uk
Didcot, Oxfordshire, OX11 0QX, UK         Patrick.Wallace@stfc.ac.uk
____________________________________________________________________
--
Scanned by iCritical.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43078


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