From: Ian Jackson Subject: Re: [PATCH] libxen compilation fixes Date: Wed, 16 Jan 2008 10:15:02 +0000 Message-ID: <18317.55590.199871.482060@mariner.uk.xensource.com> References: <18316.59271.904412.508011@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Keir Fraser writes ("Re: [Xen-devel] [PATCH] libxen compilation fixes"): > -Wno-declaration-after-statement is not supported by gcc older than 3.4. > Also it should be the default behaviour anyway, even with -Wall, and libxen > throws away the passed-in CFLAGS so it will never see > -Wdeclaration-after-statement. I must have missed an earlier -Wdeclaration-after-statement provided by some package build script, then. Sorry. > What would be nice would be to make libxen not throw away provided CFLAGS > and, if it's not too far gone down the declaration-after-statement route, > fix it to put its declarations at the top of blocks like a good C program. > If that's a big job though it's probably not worth the bother. I think libxen is too far gone. Ian.