This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [commit] gnu-v3-abi.c:430: warning: assignment from incompatible pointer type
- From: Daniel Jacobowitz <drow at false dot org>
- To: Andrew Cagney <cagney at gnu dot org>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 16 Sep 2004 14:39:27 -0400
- Subject: Re: [commit] gnu-v3-abi.c:430: warning: assignment from incompatible pointer type
- References: <4149D7A5.1020900@gnu.org>
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