This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/39841] -Wall on 'signed char' array subscript
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Apr 2009 21:53:18 -0000
- Subject: [Bug c/39841] -Wall on 'signed char' array subscript
- References: <bug-39841-6668@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-21 21:53 -------
The reasoning behind signed char not giving a warning is because in C/C++, char
can either be unsigned or signed depending on the target so the warning is only
for char and not for the specific marked signed character types.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39841