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: Gady Kozma <gady at math dot tau dot ac dot il>
- Subject: Re: Preprocessor bug in 2.95
- From: Mumit Khan <khan at NanoTech dot Wisc dot EDU>
- Date: Tue, 18 Jan 2000 22:56:34 -0600 (CST)
- cc: gcc-bugs at gcc dot gnu dot org
On Wed, 19 Jan 2000, Gady Kozma wrote:
> 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.
>
> class A
> {
> void f(void)
> {
>
> #if 0
> {
> int C;
>
> C = X;
> }
> #endif
>
> return;
> }
> };
>
> As you can probably guess, this bug appears under cygnus. I hope it is
> not a \r - \n problem.
Thanks for your bug report. This bug has been fixed in the gcc development
branch.
Regards,
Mumit