From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sw62S-0005eh-BZ for qemu-devel@nongnu.org; Tue, 31 Jul 2012 02:34:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sw62R-0002Pf-Ia for qemu-devel@nongnu.org; Tue, 31 Jul 2012 02:34:40 -0400 Received: from chello084112167138.7.11.vie.surfer.at ([84.112.167.138]:37692 helo=wiesinger.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sw62R-0002HT-1M for qemu-devel@nongnu.org; Tue, 31 Jul 2012 02:34:39 -0400 Message-ID: <50177589.3020703@wiesinger.com> Date: Tue, 31 Jul 2012 08:04:57 +0200 From: Gerhard Wiesinger MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] Compile errors on latest checkout List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini Hello, I'm getting the following compile errors: /root/download/qemu/git/qemu/hw/megasas.c: In function =91megasas_class_i= nit=92: /root/download/qemu/git/qemu/hw/megasas.c:2155:14: error: assignment=20 from incompatible pointer type [-Werror] pc->exit =3D megasas_scsi_uninit; With #define DEBUG_SCSI hw/scsi-disk.c: In function =91scsi_write_complete=92: hw/scsi-disk.c:450:9: error: format =91%d=92 expects argument of type =91= int=92,=20 but argument 3 has type =91size_t=92 [-Werror=3Dformat] hw/scsi-disk.c: In function =91scsi_disk_emulate_read_data=92: hw/scsi-disk.c:1274:9: error: format =91%zd=92 expects argument of type=20 =91signed size_t=92, but argument 2 has type =91int=92 [-Werror=3Dformat] hw/scsi-disk.c: In function =91scsi_disk_emulate_write_data=92: hw/scsi-disk.c:1452:9: error: format =91%zd=92 expects argument of type=20 =91signed size_t=92, but argument 2 has type =91int=92 [-Werror=3Dformat] hw/scsi-disk.c: In function =91scsi_new_request=92: hw/scsi-disk.c:2091:5: error: format =91%x=92 expects a matching =91unsig= ned=20 int=92 argument [-Werror=3Dformat] hw/scsi-disk.c:2094:25: error: =91r=92 undeclared (first use in this func= tion) hw/scsi-disk.c:2094:25: note: each undeclared identifier is reported=20 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