This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] [PATCH 03 of 45] gcc-4.6 compile fix: tools/xenstore/xen

To: Keir Fraser <keir@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH 03 of 45] gcc-4.6 compile fix: tools/xenstore/xenstored_core.c
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Fri, 20 May 2011 10:35:33 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 20 May 2011 01:36:24 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1305880539; l=992; s=domk; d=aepfle.de; h=In-Reply-To:Content-Type:MIME-Version:References:Subject:Cc:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=uLrLgiqrLH50jx6jQvGsJUX1Xic=; b=lpHGOrGum3XMtubYZpRHoHqu7j0rpCUcCK2TnSCqwTkKJboJ7EbD25CymJbw8fIzNdO UzZtaLds5SkP9fAeoDjZoakog9gK0RYqbGBIo+TFT8uA5QUD8JkwAv44Adp+VtrQH4Eiz vsCPpLtOPCmNabdPCxZmg1L1DH/ZPLM1kPw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C9FBE313.2D7D9%keir@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <cb0ed92e451d06789cb1.1305831922@xxxxxxxxxxxx> <C9FBE313.2D7D9%keir@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21 (2010-09-15)
On Fri, May 20, Keir Fraser wrote:

> On 19/05/2011 20:05, "Olaf Hering" <olaf@xxxxxxxxx> wrote:
> > # HG changeset patch
> > # User Olaf Hering <olaf@xxxxxxxxx>
> > # Date 1305824384 -7200
> > # Node ID cb0ed92e451d06789cb1a0ba14967bda3a7a5bcb
> > # Parent  9c492ce99bbe24e1b4bbe43c754f136ac19a372f
> > gcc-4.6 compile fix: tools/xenstore/xenstored_core.c
> > 
> > xenstored_core.c: In function 'trace':
> > xenstored_core.c:133:11: error: variable 'dummy' set but not used
> > [-Werror=unused-but-set-variable]
> > xenstored_core.c: In function 'trigger_reopen_log':
> > xenstored_core.c:203:6: error: variable 'dummy' set but not used
> > [-Werror=unused-but-set-variable]
> 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?

Its the default of gcc 4.6, at least it fails to compile in openSuSE


Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>