This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [commit] gnu-v3-abi.c:430: warning: assignment from incompatible pointer type


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]