Received: from eggs.gnu.org ([2001:4830:134:3::10]:37372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVjHz-0007c9-RZ for qemu-devel@nongnu.org; Mon, 14 Oct 2013 10:38:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVjHu-0004q5-RW for qemu-devel@nongnu.org; Mon, 14 Oct 2013 10:38:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVjHu-0004pi-JW for qemu-devel@nongnu.org; Mon, 14 Oct 2013 10:38:26 -0400 From: Markus Armbruster References: <20131014140858.GA16237@redhat.com> Date: Mon, 14 Oct 2013 16:38:22 +0200 In-Reply-To: <20131014140858.GA16237@redhat.com> (Michael S. Tsirkin's message of "Mon, 14 Oct 2013 17:08:58 +0300") Message-ID: <87ppr7gboh.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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: "Michael S. Tsirkin" Cc: qemu-devel@nongnu.org, Anthony Liguori "Michael S. Tsirkin" writes: > /scm/qemu/exec.c:720:51: error: initialization from incompatible pointer = type [-Werror] > static void *(*phys_mem_alloc)(ram_addr_t size) =3D qemu_anon_ram_alloc; > ^ > /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 lac= ks a cast [-Werror] > if (phys_mem_alloc !=3D qemu_anon_ram_alloc) { > ^ > /scm/qemu/exec.c: In function =E2=80=98qemu_ram_remap=E2=80=99: > /scm/qemu/exec.c:1251:38: error: comparison of distinct pointer types lac= ks a cast [-Werror] > assert(phys_mem_alloc =3D=3D qemu_anon_ram_alloc); > ^ > cc1: all warnings being treated as errors > make[1]: *** [exec.o] Error 1 [...] Fix has been on list for a while: https://lists.nongnu.org/archive/html/qemu-devel/2013-09/msg04685.html