From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22689 invoked by alias); 11 Jul 2009 19:02:50 -0000 Received: (qmail 22418 invoked by uid 22791); 11 Jul 2009 19:02:49 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 11 Jul 2009 19:02:44 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id AFA9E1062D; Sat, 11 Jul 2009 19:02:41 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 8A5B5105BB; Sat, 11 Jul 2009 19:02:40 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1MPhqF-0001Pf-Tz; Sat, 11 Jul 2009 15:02:35 -0400 Date: Sat, 11 Jul 2009 20:58:00 -0000 From: Daniel Jacobowitz To: Jan Kratochvil Cc: gdb-patches@sourceware.org Subject: Re: [patch] Fix warnings using gcc-4.5 HEAD Message-ID: <20090711190235.GA4388@caradoc.them.org> Mail-Followup-To: Jan Kratochvil , gdb-patches@sourceware.org References: <20090711082502.GA18801@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20090711082502.GA18801@host0.dyn.jankratochvil.net> User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-07/txt/msg00338.txt.bz2 On Sat, Jul 11, 2009 at 10:25:02AM +0200, Jan Kratochvil wrote: > Hi, > > currently GDB CVS HEAD cannot be built with gcc SVN HEAD > gcc (GCC) 4.5.0 20090711 (experimental) > > ada-lang.c: In function ‘ada_attribute_name’: > ada-lang.c:7501:9: error: comparison between ‘enum exp_opcode’ and ‘enum ada_operator’ In general, I've been advised that variables affected by this: > dwarf2read.c: In function ‘dwarf2_name’: > dwarf2read.c:8513:22: error: comparison between ‘enum dwarf_form’ and ‘enum ’ Should actually use int variables since they aren't really of a single enum's type. I really don't like this warning, though. -- Daniel Jacobowitz CodeSourcery