[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: |
Cédric Le Goater |
Subject: |
Re: [Qemu-devel] [PATCH v4 06/20] ppc/pnv: add XSCOM infrastructure |
Date: |
Mon, 7 Nov 2016 09:32:01 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
On 11/07/2016 09:26 AM, Olaf Hering wrote:
> 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:
Ah yes. That happens with "old" compilers. I will remove the extra definition.
Thanks,
C.
> ...
> [ 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
>