CRLF escaping under CygWin

Wdherndon@aol.com Wdherndon@aol.com
Tue Oct 10 17:59:00 GMT 2000


Not really a bug, but a feature I would really like to see:
an option to allow escapes ('\') before <CR><LF>s to
escape both:

Under CygWin the sources often have <CR><LF>
instead of just <LF> as line terminators. The precompiler
then generates errors on macros which escape the line
terminator. For instance:

#define DBG_OUT(x) \
   fprintf(stderr, (x))

generates:
temp.c:4: parse error before `('
temp.c:4: parse error before `)'

and later in the program, where it is used:
temp.c:8: stray '\' in program


More information about the Gcc-bugs mailing list