qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Compile errors on latest checkout
@ 2012-07-31  6:04 Gerhard Wiesinger
  2012-07-31 14:13 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: Gerhard Wiesinger @ 2012-07-31  6:04 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-31 14:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-31  6:04 [Qemu-devel] Compile errors on latest checkout Gerhard Wiesinger
2012-07-31 14:13 ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).