All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Weil <sw@weilnetz.de>
To: Stefan Berger <stefanb@linux.vnet.ibm.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] tpm: Fix several compiler warnings (redefined data types)
Date: Wed, 03 Apr 2013 21:52:47 +0200	[thread overview]
Message-ID: <515C888F.2050203@weilnetz.de> (raw)
In-Reply-To: <515C06D4.9060104@linux.vnet.ibm.com>

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.

  reply	other threads:[~2013-04-03 19:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-02 20:14 [Qemu-devel] [PATCH] tpm: Fix several compiler warnings (redefined data types) Stefan Weil
2013-04-03 10:39 ` Stefan Berger
2013-04-03 19:52   ` Stefan Weil [this message]
2013-04-05 12:51 ` Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=515C888F.2050203@weilnetz.de \
    --to=sw@weilnetz.de \
    --cc=aliguori@us.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanb@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.