From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] qemu: use ARRAY_SIZE macro as provided by osdep.h Date: Sun, 30 Mar 2008 12:37:29 +0300 Message-ID: <47EF5F59.1060806@qumranet.com> References: <20080327232723.GB15662@tapir> <20080327234227.GG15662@tapir> <47EC9875.3020404@qumranet.com> <20080328074426.GA20149@tapir> <20080328083950.GB20149@tapir> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: Carlo Marcelo Arenas Belon Return-path: In-Reply-To: <20080328083950.GB20149@tapir> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org Carlo Marcelo Arenas Belon wrote: > included through "qemu-kvm.h" -> "cpu.h" -> "cpu-defs.h" for all architectures > and resulting otherwise in : > > qemu/qemu-kvm-x86.c:23:1: warning: "ARRAY_SIZE" redefined In file included from ../cpu-defs.h:30, > from qemu/target-i386/cpu.h:45, > from ../qemu-common.h:62, > from qemu/hw/hw.h:5, > from qemu/qemu-kvm-x86.c:13: > ../osdep.h:30:1: warning: this is the location of the previous definition > > Applied, thanks. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace