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 >