This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/17178] [3.5 Regression] static consts and -Wunused-variable
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Aug 2004 22:48:17 -0000
- Subject: [Bug c/17178] [3.5 Regression] static consts and -Wunused-variable
- References: <20040824223146.17178.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-08-24 22:48 -------
Andrew, is your testcase the following single one line?
---------------------------
static const int kUnloadAndDeleteClient = 'N';
---------------------------
What is wrong with gcc giving a warning about this when you ask for it? Or what
exactly is the problem you are thinking of?
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17178