From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15562 invoked by alias); 12 May 2005 15:33:45 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 15549 invoked from network); 12 May 2005 15:33:41 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 12 May 2005 15:33:41 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50) id 1DWFgz-0000nX-Gd for gdb-patches@sourceware.org; Thu, 12 May 2005 11:33:41 -0400 Date: Thu, 12 May 2005 15:42:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Subject: Re: [COMMIT] Avoid compiler warnings in gnu-v3-abi.c Message-ID: <20050512153340.GA3028@nevyn.them.org> Mail-Followup-To: gdb-patches@sourceware.org References: <01c55707$Blat.v2.4$809d30a0@zahav.net.il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01c55707$Blat.v2.4$809d30a0@zahav.net.il> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-05/txt/msg00288.txt.bz2 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 > > * 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