This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
CRLF escaping under CygWin
- To: gcc-bugs at gcc dot gnu dot org
- Subject: CRLF escaping under CygWin
- From: Wdherndon at aol dot com
- Date: Tue, 10 Oct 2000 20:58:44 EDT
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