[commit] gnu-v3-abi.c:430: warning: assignment from incompatible pointer type
Daniel Jacobowitz
drow@false.org
Thu Sep 16 18:39:00 GMT 2004
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
More information about the Gdb-patches
mailing list