cpp w/DOS line feeds

Dave Brolley brolley@cygnus.com
Fri Dec 31 23:54:00 GMT 1999


Stuart Summerville (NEC) wrote:

> Hi all,
>
> I'm currently contemplating the problem in gcc (or cpp in particular) of
> multi-line macros that are not interpreted properly if the EOL is made up of
> CRs as well as LFs. I've seen the informative thread from 21-Jan-99 about
> this, with some bandied solutions, but nothing since then. Couldn't find
> much in the gcc-bugs or gcc-announce lists either.
>
> So, whats the current status on this issue? I'm currently running gcc
> V2.91.57, & hope that 2.95.x contains the fix.

Looks like this had been fixed in the cpplib version of the compilers
(configured with --enable-cpplib or --enable-c-cpplib) but not in cccp.c.

Dave



More information about the Gcc mailing list