From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVj4G-0000FU-F4 for qemu-devel@nongnu.org; Mon, 14 Oct 2013 10:24:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVj47-0000Zw-7k for qemu-devel@nongnu.org; Mon, 14 Oct 2013 10:24:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:28149) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVj47-0000Zr-01 for qemu-devel@nongnu.org; Mon, 14 Oct 2013 10:24:11 -0400 Date: Mon, 14 Oct 2013 17:26:43 +0300 From: "Michael S. Tsirkin" Message-ID: <20131014142643.GA2741@redhat.com> References: <20131014140858.GA16237@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20131014140858.GA16237@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] qemu master build errors List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Anthony Liguori On Mon, Oct 14, 2013 at 05:08:58PM +0300, Michael S. Tsirkin wrote: > /scm/qemu/exec.c:720:51: error: initialization from incompatible pointe= r type [-Werror] > static void *(*phys_mem_alloc)(ram_addr_t size) =3D qemu_anon_ram_allo= c; > ^ > /scm/qemu/exec.c: In function =E2=80=98qemu_ram_alloc_from_ptr=E2=80=99= : > /scm/qemu/exec.c:1107:32: error: comparison of distinct pointer types l= acks a cast [-Werror] > if (phys_mem_alloc !=3D qemu_anon_ram_alloc) { > ^ It could have to do with the fact build is done on a 32 bit machine.