[Bug preprocessor/23688] Compiler does not warn on selected unknown character escapes

2006-08-18 Thread simon_baldwin at yahoo dot com
--- Comment #3 from simon_baldwin at yahoo dot com 2006-08-18 17:51 --- Unfortunately, adding -pedantic brings in a grab-bag of other warnings that aren't currently separable. What would be useful, I think, is to have unknown escape sequences as its own -Wmumble option. That way, it's

[Bug preprocessor/23688] Compiler does not warn on selected unknown character escapes

2005-09-01 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-01 23:16 --- Hmm, the comment in the preprocessor is all of those: case '(': case '{': case '[': case '%': /* '\(', etc, can be used at the beginning of a line in a long string split onto multiple line

[Bug preprocessor/23688] Compiler does not warn on selected unknown character escapes

2005-09-01 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-01 23:11 --- Hmm, interesting if I add -pedantic, I get the warnings. And this is not a regression. A preprocessor person has to comment on why this is. -- What|Removed |Added