Received: from eggs.gnu.org ([208.118.235.92]:55820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNTk3-0007sX-7z for qemu-devel@nongnu.org; Wed, 03 Apr 2013 15:53:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNTk1-0000Uv-Tc for qemu-devel@nongnu.org; Wed, 03 Apr 2013 15:53:07 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:34607) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNTjz-0000Tm-9y for qemu-devel@nongnu.org; Wed, 03 Apr 2013 15:53:05 -0400 Message-ID: <515C888F.2050203@weilnetz.de> Date: Wed, 03 Apr 2013 21:52:47 +0200 From: Stefan Weil MIME-Version: 1.0 References: <1364933691-21197-1-git-send-email-sw@weilnetz.de> <515C06D4.9060104@linux.vnet.ibm.com> In-Reply-To: <515C06D4.9060104@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] tpm: Fix several compiler warnings (redefined data types) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Berger Cc: Anthony Liguori , qemu-devel@nongnu.org Am 03.04.2013 12:39, schrieb Stefan Berger: > On 04/02/2013 04:14 PM, Stefan Weil wrote: > > What compiler and options did you use? > That's the MinGW-w64 cross gdb from Debian Squeeze with QEMU's default compiler options. $ amd64-mingw32msvc-gcc --version amd64-mingw32msvc-gcc (GCC) 4.4.4make: Entering directory `/qemu/bin/debug/w64' CC tpm/tpm.o In file included from /qemu/tpm/tpm_int.h:16, from /qemu/tpm/tpm.c:19: /qemu/tpm/tpm_tis.h:41: error: redefinition of typedef 'TPMSizedBuffer' /qemu/include/tpm/tpm.h:18: note: previous declaration of 'TPMSizedBuffer' was here In file included from /qemu/tpm/tpm.c:19: /qemu/tpm/tpm_int.h:19: error: redefinition of typedef 'TPMDriverOps' /qemu/include/backends/tpm.h:34: note: previous declaration of 'TPMDriverOps' was here /qemu/tpm/tpm_int.h:35: error: redefinition of typedef 'TPMState' /qemu/include/tpm/tpm.h:17: note: previous declaration of 'TPMState' was here /qemu/tpm/tpm_int.h:39: error: redefinition of typedef 'TPMRecvDataCB' /qemu/include/tpm/tpm.h:19: note: previous declaration of 'TPMRecvDataCB' was here make: *** [tpm/tpm.o] Fehler 1 make: Leaving directory `/qemu/bin/debug/w64' Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. QEMU was configured with ./configure' '--cross-prefix=amd64-mingw32msvc-' '--enable-debug' '--disable-docs' Regards, Stefan W.