This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/4021: warning on valid code
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, rayvt at comm dot mot dot com
- Subject: Re: c/4021: warning on valid code
- From: aoliva at gcc dot gnu dot org
- Date: 14 Aug 2001 22:53:11 -0000
Synopsis: warning on valid code
State-Changed-From-To: open->closed
State-Changed-By: aoliva
State-Changed-When: Tue Aug 14 15:53:11 2001
State-Changed-Why:
The warning is not caused by using chr_index as the index, but because the macro isprint() uses print_byte as an index into an array of character type descriptors. Since isprint() is not defined in GCC, but in the C library of whatever OS you're using, this is not a bug in GCC.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4021&database=gcc