[COMMIT] Avoid compiler warnings in gnu-v3-abi.c
Daniel Jacobowitz
drow@false.org
Thu May 12 15:42:00 GMT 2005
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
More information about the Gdb-patches
mailing list