From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH 03 of 45] gcc-4.6 compile fix: tools/xenstore/xenstored_core.c Date: Fri, 20 May 2011 15:58:09 +0100 Message-ID: References: <20110520143846.GA17222@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110520143846.GA17222@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Olaf Hering Cc: "xen-devel@lists.xensource.com" , Ian Campbell List-Id: xen-devel@lists.xenproject.org On 20/05/2011 15:38, "Olaf Hering" wrote: > On Fri, May 20, Keir Fraser wrote: > >> On 20/05/2011 09:30, "Ian Campbell" wrote: >> >>>> I applied the first couple of these patches, but... We don't set >>>> -Werror=unused-but-set-variable, so we don't actually need these fixes, do >>>> we? Unless they are cleanups or fixes in some other way? >>> >>> gcc 4.6 adds it to the default set of Werrors. >> >> I'll take a patch from someone to remove it from the default set, please. > > I will send a tested patch. > > It may hide some bugs. In one of the patches for tools/ some function > returns 0 unconditionally instead of the rc variable. Oh dear. Well, the tools/libxl maintainers are free to keep the new warnings, and take your fixes, if they wish, clearly needing the help. ;-) -- Keir > Olaf