From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24652 invoked by alias); 16 Sep 2004 18:39:28 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 24642 invoked from network); 16 Sep 2004 18:39:27 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 16 Sep 2004 18:39:27 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1C81AF-0006Zd-30; Thu, 16 Sep 2004 14:39:27 -0400 Date: Thu, 16 Sep 2004 18:39:00 -0000 From: Daniel Jacobowitz To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [commit] gnu-v3-abi.c:430: warning: assignment from incompatible pointer type Message-ID: <20040916183927.GA24773@nevyn.them.org> Mail-Followup-To: Andrew Cagney , gdb-patches@sources.redhat.com References: <4149D7A5.1020900@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4149D7A5.1020900@gnu.org> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-09/txt/msg00280.txt.bz2 On Thu, Sep 16, 2004 at 02:12:53PM -0400, Andrew Cagney wrote: > Hello, > > Using FC3's GCC 3.4, I'm seeing the warning: > > /home/cygnus/cagney/GDB/src/gdb/gnu-v3-abi.c: In function `init_gnuv3_ops': > /home/cygnus/cagney/GDB/src/gdb/gnu-v3-abi.c:430: warning: assignment > from incom > patible pointer type > /home/cygnus/cagney/GDB/src/gdb/gnu-v3-abi.c:431: warning: assignment > from incom > patible pointer type > > I'm not sure how it should be fixed (it's messy, see patch for > description) - suggestions? For the moment I've disabled -Werror on > that file. We could remove the ctor_kinds/dtor_kinds types from the header and use the gnu_v3 enums provided by the demangler. They're misnamed for our purposes, but they're also a superset of what's available in other ABIs we currently support. -- Daniel Jacobowitz