From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] fix gcc-4.6's set-but-not-used warnings Date: Thu, 25 Aug 2011 17:27:07 +0100 Message-ID: References: <4E5689A402000078000534F6@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4E5689A402000078000534F6@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 25/08/2011 16:43, "Jan Beulich" wrote: >>>> On 25.08.11 at 16:39, Keir Fraser wrote: >> On 25/08/2011 15:20, "Jan Beulich" wrote: >> >>> Signed-off-by: Jan Beulich >> >> 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 >