This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [COMMIT] Avoid compiler warnings in gnu-v3-abi.c
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Thu, 12 May 2005 11:33:41 -0400
- Subject: Re: [COMMIT] Avoid compiler warnings in gnu-v3-abi.c
- References: <01c55707$Blat.v2.4$809d30a0@zahav.net.il>
On Thu, May 12, 2005 at 06:29:15PM +0300, Eli Zaretskii wrote:
> Without this patch, GCC whines about assignment from incompatible
> pointer type. Admittedly, such coding practice is not very clean,
> but...
>
> Committed as obvious.
>
> 2005-05-12 Eli Zaretskii <eliz@gnu.org>
>
> * gnu-v3-abi.c (init_gnuv3_ops): Cast is_gnu_v3_mangled_dtor and
> is_gnu_v3_mangled_ctor to avoid compiler warnings.
What compiler version produced this warning? GCC 3.3 and 3.4 don't,
AFAICT; maybe it's new in 4.0.
--
Daniel Jacobowitz
CodeSourcery, LLC