This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Preprocessor bug in 2.95
- To: Horst von Brand <vonbrand at sleipnir dot valparaiso dot cl>
- Subject: Re: Preprocessor bug in 2.95
- From: Mumit Khan <khan at NanoTech dot Wisc dot EDU>
- Date: Wed, 19 Jan 2000 02:52:10 -0600 (CST)
- cc: Gady Kozma <gady at math dot tau dot ac dot il>, gcc-bugs at gcc dot gnu dot org
On Tue, 18 Jan 2000, Horst von Brand wrote:
> Gady Kozma <gady@math.tau.ac.il> said:
> > The following program must be inserted exactly as is, even removing an
> > empty line will cause the bug to disappear. name the program ..\b.cpp
> > (note the backslash!) and try to compile it. It will complain about an
> > "unknown escape sequence \b". I'm not sure if it's a preprocessor or a
> > compiler bug, but it's wrong.
>
> Are you sure there are no extraneous control characters in those "empty"
> lines?
It's a bug in C++ parser, and fixed in mainline. See:
Linkname: (C++) fix for '\\' in cpp '# <line> <file>' directive
URL: http://gcc.gnu.org/ml/gcc-patches/1999-12/msg00318.html
Regards,
Mumit