Subject: lib/31371: Spurious warnings on system headers
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: seebs <seebs@vash.cel.plethora.net>
List: netbsd-bugs
Date: 09/22/2005 20:02:00
>Number:         31371
>Category:       lib
>Synopsis:       gcc warns about subscripts of type char using tolower
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 22 20:02:00 +0000 2005
>Originator:     seebs
>Release:        NetBSD 3.99.8
>Organization:
>Environment:
System: NetBSD vash.cel.plethora.net 3.99.8 NetBSD 3.99.8 (VASH) #0: Fri Sep 9 10:49:46 CDT 2005 seebs@vash.cel.plethora.net:/usr/src/sys/arch/i386/compile/VASH i386
Architecture: i386
Machine: i386
>Description:
	The to* and is* macros index into arrays with characters, and gcc
	warns about this.  The system headers should not produce warnings
	under regular usage; maybe there's a pragma?
>How-To-Repeat:
	gcc -Wall
>Fix: