qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4 06/20] ppc/pnv: add XSCOM infrastructure


From: Olaf Hering
Subject: Re: [Qemu-devel] [PATCH v4 06/20] ppc/pnv: add XSCOM infrastructure
Date: Mon, 7 Nov 2016 09:26:55 +0100
User-agent: Mutt/1.6.2 (6759)

On Mon, Oct 03, Cédric Le Goater wrote:

> +++ b/include/hw/ppc/pnv_xscom.h

> +typedef struct PnvChip PnvChip;

This causes a compile error with gcc 4.5.1:

...
[  552s] In file included from 
/usr/src/packages/BUILD/qemu-20161104T092624.9226682/hw/ppc/pnv.c:29:0:
[  552s] 
/usr/src/packages/BUILD/qemu-20161104T092624.9226682/include/hw/ppc/pnv.h:60:3: 
error: redefinition of typedef 'PnvChip'
[  552s] 
/usr/src/packages/BUILD/qemu-20161104T092624.9226682/include/hw/ppc/pnv_xscom.h:24:24:
 note: previous declaration of 'PnvChip' was here
[  552s] make[1]: *** [hw/ppc/pnv.o] Error 1
[  552s] make[1]: Leaving directory 
`/usr/src/packages/BUILD/qemu-20161104T092624.9226682/ppc64-softmmu'
[  552s] make: *** [subdir-ppc64-softmmu] Error 2
...

Olaf

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]