From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18441 invoked by alias); 19 Mar 2005 23:13:11 -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 18375 invoked by uid 48); 19 Mar 2005 23:13:08 -0000 Date: Sat, 19 Mar 2005 23:13:00 -0000 From: "mueller at kde dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20050319231307.20562.mueller@kde.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/20562] New: no unused warning for static arrays X-Bugzilla-Reason: CC X-SW-Source: 2005-03/txt/msg02396.txt.bz2 List-Id: given this code: === Cut === static const char * const tcvnlocales[] = { "vi", 0 }; === Cut === There should be a "defined but not used" warning. -- Summary: no unused warning for static arrays Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mueller at kde dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20562