WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] fix gcc-4.6's set-but-not-used warnings

To: "Keir Fraser" <keir.xen@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] fix gcc-4.6's set-but-not-used warnings
From: "Jan Beulich" <JBeulich@xxxxxxxx>
Date: Thu, 25 Aug 2011 16:43:00 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 25 Aug 2011 19:54:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CA7C1D17.1FC04%keir.xen@xxxxxxxxx>
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: <4E56766B0200007800053408@xxxxxxxxxxxxxxxxxxxx> <CA7C1D17.1FC04%keir.xen@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> On 25.08.11 at 16:39, Keir Fraser <keir.xen@xxxxxxxxx> wrote:
> On 25/08/2011 15:20, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:
> 
>> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
> 
> But we compile with -Wno-unused-but-set-variable?

My problem seems to be related to me setting the cross-compiler
override in ./.config, but that file gets included only after the first set
of cc-option-add invocations already happened. Unless there's another
way of setting the cross-compile override persistently (i.e. not on the
make command line), would it be possible to move those invocations
down (which works for me)?

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel