This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: cpp w/DOS line feeds
Hi,
Per Bothner:
> > Four. When you compile and/or run the code on a Mac, you might get the
> > equivalent of \n\r when reading DOS files.
>
> Presumably only when opening the file in text mode - not when opining
> it in binary mode?
>
I've heard of at least one compiler which switches the ASCII codes
of \r and \n. Thus, if you use code compiled by this thing, and if you
open the file in text mode, it would come out OK again. :-/
--
Matthias Urlichs | noris network GmbH | smurf@noris.de | ICQ: 20193661
The quote was selected randomly. Really. | http://www.noris.de/~smurf/
--
Everyone complains of his memory, no one of his judgement.