This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Preprocessor bug in 2.95


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]