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: Jan Beulich <JBeulich@xxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] fix gcc-4.6's set-but-not-used warnings
From: Keir Fraser <keir.xen@xxxxxxxxx>
Date: Thu, 25 Aug 2011 17:27:07 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 25 Aug 2011 09:29:20 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=wKnAAvSh4jY+Ecnio6Y6eP5H3/58p3mALPKVMV7C0ms=; b=h8TP6JMoUtSOsnCBDh05eYypuUqrqR5nlo7/apEBVOxDFG4VGLci4oce3YWtVYyL6O mO04Ce5dKE5H/++WKqynNUFbG2WGy7QmJSDFAQ+oBtbTglVNdqjAEfF3YNUSIzujOyJR xAaVkX/+c+EVLCpMKh1YoQgH9pvMcFUstm2FY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E5689A402000078000534F6@xxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcxjQ9S8H9KncgsIEUGncecTeZHJYg==
Thread-topic: [Xen-devel] [PATCH] fix gcc-4.6's set-but-not-used warnings
User-agent: Microsoft-Entourage/12.30.0.110427
On 25/08/2011 16:43, "Jan Beulich" <JBeulich@xxxxxxxx> wrote:

>>>> 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)?

Move the cc-option-add invocations right to the very bottom of Config.mk?
Makes sense to me. I'll make that change.

 -- Keir

> Jan
> 



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