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] Avoid compiler warnings in gnu-v3-abi.c


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


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