Mail Archives: djgpp/2001/02/16/06:13:16
Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> wrote:
> Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
[...]
>> Are you sure?
> Come to think of it once more: not completely. I'll experiment and
> report results tomorrow.
OK, I checked, and you're right, Eli: the Borland compilers do fine
with LF-only files. The only tool that really doesn't work with them
is Borland's version of 'grep'. Which may or may not be a valid reason
for insisting to have CRLF lineends, depending on personal
preferences.
I now believe that the problems I thought I remembered were actually
the other way round: *Linux* GCC used to have all kinds of problems
with DOS sources brought back to the Linux platform. And the main
problem really was preprocessor line continuation, then: "\\\r\n" in
the source was not seen by the preprocessor as a valid "backslash
followed immediately by line end" sequence, which broke multiline
macro definitions --- the error messages you get from that are quite
"interesting", and almost completely unhelpful.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -