Carriage returns in files

Neil Booth neil@daikokuya.demon.co.uk
Thu Jul 26 23:41:00 GMT 2001


Kevin Day wrote:-

> > 
> > On Jul 26, 2001, Kevin Day <toasty@temphost.dragondata.com> wrote:
> > 
> > > Microsoft's and Borland's compilers will work fine with either EOL
> > > mode.
> > 
> > So does GCC 3.0, AFAIK.  Which version of GCC are you using?
> > 
> 
> Ahh, I'm using 2.95.3 (which is what is shipping with FreeBSD 4.3). I'll
> have to experiment with upgrading to 3.0, unless someone wants to backport
> this feature. :)

It's a boatload of work, and quite error-prone too, since 2.95's
preprocessor does newline interpretation in about 100 different
places.

3.0's preprocessor is a complete rewrite, and only does it in one place :-)

Neil.



More information about the Gcc-bugs mailing list