------- Comment #7 from h dot b dot furuseth at usit dot uio dot no 2006-10-24 08:20 ------- Subject: Re: Issues with -Wchar-subscripts
gdr at integrable-solutions dot net writes: > The absence of warning in C is OK -- literal characters have type int > in C. Yes, but see previous comments. > The warning in C++ is arguably bogus because the value of the > character '%' is known at compile-time, consequently the warning > is unwarranted (unless it really is negative). unwarranted unless it _could_ be negative on some host. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29455