From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22288 invoked by alias); 19 Sep 2006 05:13:53 -0000 Received: (qmail 22244 invoked by uid 48); 19 Sep 2006 05:13:45 -0000 Date: Tue, 19 Sep 2006 05:13:00 -0000 Message-ID: <20060919051345.22243.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/28901] -Wunused-variable ignores unused const initialised variables In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-09/txt/msg01799.txt.bz2 List-Id: ------- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-19 05:13 ------- This is not a bug but a feature. The reason is that const int usually shows up in header files and usually are normally unused. -- 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=28901