[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compilation warning of gdb with non-gcc compiler
From: |
Bruno Haible |
Subject: |
compilation warning of gdb with non-gcc compiler |
Date: |
Wed, 10 May 2006 20:07:06 -0000 |
User-agent: |
KMail/1.5 |
Hi,
Compiling gdb-6.4 on Linux/x86 with Sun C 5.9 leads to a warning:
"cp-name-parser.y", line 1410: warning: dubious escape: \e
Of course \e is not an ANSI C or ISO C escape sequence. The author probably
meant the Escape character, '\033'. Here is a fix.
*** gdb/cp-name-parser.y.bak 2005-05-28 18:48:58.000000000 +0200
--- gdb/cp-name-parser.y 2006-05-07 18:41:56.000000000 +0200
***************
*** 1407,1413 ****
}
static char backslashable[] = "abefnrtv";
! static char represented[] = "\a\b\e\f\n\r\t\v";
/* Translate the backslash the way we would in the host character set. */
static int
--- 1407,1413 ----
}
static char backslashable[] = "abefnrtv";
! static char represented[] = "\a\b\033\f\n\r\t\v";
/* Translate the backslash the way we would in the host character set. */
static int
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- compilation warning of gdb with non-gcc compiler,
Bruno Haible <=