https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29455
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29455
Preston L Bannister changed:
What|Removed |Added
CC||preston at bannister dot us
--- Co
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29455
Manuel López-Ibáñez changed:
What|Removed |Added
Keywords||diagnostic
CC|
--- 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.
--- Comment #6 from gdr at integrable-solutions dot net 2006-10-24 06:32
---
Subject: Re: New: Issues with -Wchar-subscripts
"h dot b dot furuseth at usit dot uio dot no" <[EMAIL PROTECTED]>
writes:
| [This is both a C and C++ bug report, not sure how to classify that.]
|
| int a[2
--- Comment #5 from h dot b dot furuseth at usit dot uio dot no 2006-10-17
12:49 ---
Subject: Re: Issues with -Wchar-subscripts
pinskia at gcc dot gnu dot org writes:
> 'a' in C is not of the type char but instead int so not warning
> there is correct really.
How about a -Warray-boun
--- Comment #4 from pinskia at gmail dot com 2006-10-14 18:08 ---
Subject: Re: Issues with -Wchar-subscripts
On Sat, 2006-10-14 at 17:52 +, h dot b dot furuseth at usit dot uio
dot no wrote:
> > Also you forgot one thing '%' does not have to match up with the ANSI
> > character set
On Sat, 2006-10-14 at 17:52 +, h dot b dot furuseth at usit dot uio
dot no wrote:
> > Also you forgot one thing '%' does not have to match up with the ANSI
> > character set so it could be negative in signed char which means char
> > (which could default to signed char) would be different.
>
>
--- Comment #3 from h dot b dot furuseth at usit dot uio dot no 2006-10-14
17:52 ---
Subject: Re: Issues with -Wchar-subscripts
Sorry about the empty answer.
pinskia at gcc dot gnu dot org writes:
> 'a' in C is not of the type char but instead int so not warning there
> is correct re
--- Comment #2 from h dot b dot furuseth at usit dot uio dot no 2006-10-14
17:06 ---
Subject: Re: Issues with -Wchar-subscripts
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29455
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-13 16:54 ---
'a' in C is not of the type char but instead int so not warning there is
correct really. Also you forgot one thing '%' does not have to match up with
the ANSI character set so it could be negative in signed char whic
11 matches
Mail list logo