From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wen Congyang Subject: building error Date: Mon, 14 Jul 2014 15:00:01 +0800 Message-ID: <53C37FF1.6040604@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devl Cc: Stefano Stabellini List-Id: xen-devel@lists.xenproject.org I update qemu-xen-dir, and find this problem: In file included from /usr/include/spice-server/spice.h:25:0, from /work/src/xen/tools/qemu-xen-dir/include/ui/qemu-spice.h:25, from qemu-char.c:84: /usr/include/spice-1/spice/macros.h:105:0: error: "INLINE" redefined [-Werror] #define INLINE inline ^ In file included from /work/src/xen/tools/qemu-xen-dir/include/qemu/bswap.h:8:0, from /work/src/xen/tools/qemu-xen-dir/include/qemu-common.h:112, from qemu-char.c:24: /work/src/xen/tools/qemu-xen-dir/include/fpu/softfloat.h:66:0: note: this is the location of the previous definition #define INLINE static inline ^ cc1: all warnings being treated as errors CC page_cache.o This problem has been fixed in upstream qemu: http://git.qemu.org/?p=qemu.git;a=commitdiff;h=a49db98d1f85ada0c4e5bb22bd93d541e7159c43