Am 27.06.2011 04:37, schrieb TeLeMan:
This patch breaks the compilation with --enable-vnc-png:
CC ui/vnc-enc-tight.o
In file included from /usr/include/png.h:518,
from ui/vnc-enc-tight.c:34:
/usr/include/pngconf.h:371: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '.' token
/usr/include/pngconf.h:372: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'include'
make: *** [ui/vnc-enc-tight.o] Error 1
--
SUN OF A BEACH
I get the same compiler error when I run with --enable-vnc-png,
and the buildbots got it as well. In my last test, png support
was disabled, so I did not notice this problem.
The png header files check for prior inclusion of setjmp.h
and have a really surprising way of telling that this happened
(instead of #error, they use illegal C code - a comment without
comment delimiters).
A patch which disables this strange check was just sent to qemu-devel.
Regards,
Stefan