From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 475 invoked by alias); 19 Mar 2005 23:19:47 -0000 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 Received: (qmail 408 invoked by uid 48); 19 Mar 2005 23:19:43 -0000 Date: Sat, 19 Mar 2005 23:19:00 -0000 Message-ID: <20050319231943.407.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050319231307.20562.mueller@kde.org> References: <20050319231307.20562.mueller@kde.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/20562] no unused warning for static arrays X-Bugzilla-Reason: CC X-SW-Source: 2005-03/txt/msg02399.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-19 23:19 ------- (In reply to comment #1) > (In reply to comment #0) > > There should be a "defined but not used" warning. > > Why, this is a constant array so it is removed right? Never mind, but I can tell you this was already fixed by the time 4.0.0 was branched. Try with -Wunused. -- What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |minor Status|UNCONFIRMED |RESOLVED Resolution| |FIXED Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20562