From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [212.27.42.3]) by mail.openembedded.org (Postfix) with ESMTP id C04D761844 for ; Mon, 7 Oct 2013 11:51:57 +0000 (UTC) Received: from e6520eb (unknown [88.170.243.169]) (Authenticated sender: eukrea) by smtp3-g21.free.fr (Postfix) with ESMTPSA id 82F26A6242; Mon, 7 Oct 2013 13:51:51 +0200 (CEST) Date: Mon, 7 Oct 2013 13:51:50 +0200 From: Eric =?ISO-8859-1?B?QuluYXJk?= To: "Burton, Ross" Message-ID: <20131007135150.52adab6b@e6520eb> In-Reply-To: References: <1380967879-2902-1-git-send-email-eric@eukrea.com> Organization: =?ISO-8859-1?B?RXVrculh?= Electromatique X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Cc: OE-core Subject: Re: [PATCH] qemu: fix nativesdk build without x11 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Oct 2013 11:51:59 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Le Mon, 7 Oct 2013 12:34:02 +0100, "Burton, Ross" a =E9crit : > On 5 October 2013 11:11, Eric B=E9nard wrote: > > when x11 is not defined in DISTRO_FEATURES, there are no x11 headers > > so True is not defined leading to : > > | ui/sdl.c:62:8: warning: type defaults to 'int' in declaration of 'doi= ng_grabs' [-Wimplicit-int] > > | static doing_grabs =3D True; > > | ^ > > | ui/sdl.c:62:22: error: 'True' undeclared here (not in a function) > > | static doing_grabs =3D True; > > | ^ >=20 > Does qemu on SDL on framebuffer actually work? I'd assumed that > people using qemu without x11 were using it without SDL, so maybe this > is a bug in the build configuration for nativesdk. >=20 I'm not using qemu in the present case, I was simply building a sdk. > A better fix would be to use 1/0 instead of True/False, I was assuming > that SDL meant X was being used. >=20 that would also fix the problem. Eric