[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] tpm: Fix several compiler warnings (redefined d
From: |
Stefan Weil |
Subject: |
Re: [Qemu-devel] [PATCH] tpm: Fix several compiler warnings (redefined data types) |
Date: |
Wed, 03 Apr 2013 21:52:47 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 |
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.