This is the mail archive of the gcc-patches@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]

Re: RFA: Ignore DOS end-of-line characters (ctrl-Z) unless -W



On Wed, 8 May 2002, Andris Pavenis wrote:

> Original message (and patch) was due to a different reason: use of source
> files originated from DOS under other systems (unfortunatelly read 
> initial message not too carefully ...)

For other systems, I guess a warning under -W is okay.

> > Hmm, does this mean GCC reads files in binary mode?  (If not, the library 
> > will stop at the first ^Z, and GCC itself will never see any ^Zs.)
> 
> It reads in binary mode.

I hope only when the input comes from a file, not from a terminal.


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