All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerhard Wiesinger <lists@wiesinger.com>
To: qemu-devel@nongnu.org
Cc: Paolo Bonzini <pbonzini@redhat.com>
Subject: [Qemu-devel] Compile errors on latest checkout
Date: Tue, 31 Jul 2012 08:04:57 +0200	[thread overview]
Message-ID: <50177589.3020703@wiesinger.com> (raw)

Hello,

I'm getting the following compile errors:

/root/download/qemu/git/qemu/hw/megasas.c: In function ‘megasas_class_init’:
/root/download/qemu/git/qemu/hw/megasas.c:2155:14: error: assignment 
from incompatible pointer type [-Werror]
pc->exit = megasas_scsi_uninit;

With #define DEBUG_SCSI
hw/scsi-disk.c: In function ‘scsi_write_complete’:
hw/scsi-disk.c:450:9: error: format ‘%d’ expects argument of type ‘int’, 
but argument 3 has type ‘size_t’ [-Werror=format]
hw/scsi-disk.c: In function ‘scsi_disk_emulate_read_data’:
hw/scsi-disk.c:1274:9: error: format ‘%zd’ expects argument of type 
‘signed size_t’, but argument 2 has type ‘int’ [-Werror=format]
hw/scsi-disk.c: In function ‘scsi_disk_emulate_write_data’:
hw/scsi-disk.c:1452:9: error: format ‘%zd’ expects argument of type 
‘signed size_t’, but argument 2 has type ‘int’ [-Werror=format]
hw/scsi-disk.c: In function ‘scsi_new_request’:
hw/scsi-disk.c:2091:5: error: format ‘%x’ expects a matching ‘unsigned 
int’ argument [-Werror=format]
hw/scsi-disk.c:2094:25: error: ‘r’ undeclared (first use in this function)
hw/scsi-disk.c:2094:25: note: each undeclared identifier is reported 
only once for each function it appears in

Please fix it.

gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2)

Thnx.

Ciao,
Gerhard

             reply	other threads:[~2012-07-31  6:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-31  6:04 Gerhard Wiesinger [this message]
2012-07-31 14:13 ` [Qemu-devel] Compile errors on latest checkout Paolo Bonzini

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=50177589.3020703@wiesinger.com \
    --to=lists@wiesinger.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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.