From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:42858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb4YK-0000sS-UN for qemu-devel@nongnu.org; Mon, 27 Jun 2011 01:40:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qb4YJ-0001x9-Gi for qemu-devel@nongnu.org; Mon, 27 Jun 2011 01:40:08 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:47231) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb4YJ-0001vj-4s for qemu-devel@nongnu.org; Mon, 27 Jun 2011 01:40:07 -0400 Message-ID: <4E0817B3.50109@mail.berlios.de> Date: Mon, 27 Jun 2011 07:40:03 +0200 From: Stefan Weil MIME-Version: 1.0 References: <4DFC636D.9090800@mail.berlios.de> <20110623135202.GA12765@stefanha-thinkpad.localdomain> <4E03564A.5060201@mail.berlios.de> <4E07907F.1060703@mail.berlios.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH] fix MinGW compilation when --enable-vnc-jpeg is specified List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: TeLeMan Cc: Blue Swirl , Stefan Hajnoczi , qemu-devel , Roy Tam 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