This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/17178] New: [3.5 Regression] static consts and -Wunused-variable
- 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: 24 Aug 2004 22:31:47 -0000
- Subject: [Bug c/17178] New: [3.5 Regression] static consts and -Wunused-variable
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
static const int kUnloadAndDeleteClient = 'N';
gcc -Wunused-variable -Werror t.c
t:1: warning: unused variable `kUnloadAndDeleteClient'
--
Summary: [3.5 Regression] static consts and -Wunused-variable
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: critical
Priority: P2
Component: c
AssignedTo: zack at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17178