From: Ian Jackson Subject: Re: [PATCH] libxl: Enable -Wshadow Date: Fri, 14 Sep 2012 15:41:07 +0100 Message-ID: <20563.16899.949080.543875@mariner.uk.xensource.com> References: <58ab3fb73d13e250f334.1347620998@cosworth.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <58ab3fb73d13e250f334.1347620998@cosworth.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("[PATCH] libxl: Enable -Wshadow"): > libxl: Enable -Wshadow. > > It was convenient to invent $(CFLAGS_LIBXL) to do this. > > Various renamings to avoid shadowing standard functions: > - index(3) > - listen(2) > - link(2) > - abort(3) > - abs(3) Thanks. > Reduced the scope of some variables to avoid conflicts. > > Change to libxc is due to the nested hypercall buf macros in > set_xen_guest_handle (used in libxl) using the same local private vars. > > Build tested only. Acked-by: Ian Jackson Ian.