Received: from eggs.gnu.org ([2001:4830:134:3::10]:37789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgZ15-0001Ui-ST for qemu-devel@nongnu.org; Wed, 13 Nov 2013 06:53:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VgZ10-0000dp-AA for qemu-devel@nongnu.org; Wed, 13 Nov 2013 06:53:51 -0500 Message-ID: <5283683F.9020102@msgid.tls.msk.ru> Date: Wed, 13 Nov 2013 15:53:35 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <1384105751-12815-1-git-send-email-sw@weilnetz.de> In-Reply-To: <1384105751-12815-1-git-send-email-sw@weilnetz.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH for 1.7] qga: Fix compilation for old versions of MinGW List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: qemu-trivial@nongnu.org, qemu-devel , Anthony Liguori 10.11.2013 21:49, Stefan Weil wrote: > While MinGW-w64 can compile the qga code, MinGW from Ubuntu lenny > (gcc-mingw32 4.4.2-3) shows these errors: I guess you mean Debian lenny, not Ubuntu lenny here ;) And lenny is an "old-old-stable" Debian release - it was before squeeze which is now oldstable. Lenny has been released at 14 Feb 2009... > In file included from qga/vss-win32.c:17: > qga/vss-win32/requester.h:31: > error: expected =C2=BB=3D=C2=AB, =C2=BB,=C2=AB, =C2=BB;=C2=AB, =C2=BBa= sm=C2=AB or =C2=BB__attribute__=C2=AB before =C2=BBrequester_init=C2=AB > qga/vss-win32/requester.h:32: > error: expected =C2=BB=3D=C2=AB, =C2=BB,=C2=AB, =C2=BB;=C2=AB, =C2=BBa= sm=C2=AB or =C2=BB__attribute__=C2=AB before =C2=BBrequester_deinit=C2=AB >=20 > The macro STDAPI is unknown, so add the missing include file which > defines it. >=20 > Signed-off-by: Stefan Weil > --- >=20 > This patch also fixes the same error on the MinGW buildbot. > I did not notice it earlier because I usually compile with MinGW-w64. >=20 > Regards, > Stefan >=20 > qga/vss-win32/requester.h | 1 + > 1 file changed, 1 insertion(+) Thanks, applied to the trivial-patches queue, with s/Ubuntu/Debian/ - hop= efully this is okay :) /mjt