Am 02.11.2012 17:14, schrieb Andreas Färber: > Am 01.11.2012 20:33, schrieb Anthony Liguori: >> Gerd Hoffmann <kra...@redhat.com> writes: >> >>> Hi, >>> >>> Sitting on these too long already. Series has been on the list a while >>> back, only splitted into two parts (separate "console cleanups" series >>> carrying patches 1-8). Patch 11 was updated according to Paolos >>> suggestion, otherwise the patches are unmodified. >>> >>> please pull, >>> Gerd >> >> Pulled. Thanks. > > Getting this on SLES 11 SP2 s390x (pixman 0.16.0): > > cc1: warnings being treated as errors > In file included from /home/andreas/qemu-s390/qemu-pixman.h:4, > from /home/andreas/qemu-s390/console.h:5, > from /home/andreas/qemu-s390/qemu-timer.c:28: > /usr/include/pixman-1/pixman.h:225: error: redundant redeclaration of > ‘pixman_transform_from_pixman_f_transform’ > /usr/include/pixman-1/pixman.h:221: error: previous declaration of > ‘pixman_transform_from_pixman_f_transform’ was here > make: *** [qemu-timer.o] Fehler 1 > make: *** Warte auf noch nicht beendete Prozesse... > > Any idea how to resolve?
So, it seems that our pixman 0.16.0 header has a genuine redundant declaration, not influenced by qemu-pixman.h. I worked around it by manually changing -Wredundant-decl to -Wno-redundant-decl in configure, similar to what some FreeBSD versions needed. Suggestions for a real warnings-fix or configure-detection of incompatible headers appreciated! Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg