qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] qemu master build errors


From: Markus Armbruster
Subject: Re: [Qemu-devel] qemu master build errors
Date: Mon, 14 Oct 2013 16:38:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

"Michael S. Tsirkin" <address@hidden> writes:

> /scm/qemu/exec.c:720:51: error: initialization from incompatible pointer type 
> [-Werror]
>  static void *(*phys_mem_alloc)(ram_addr_t size) = qemu_anon_ram_alloc;
>                                                    ^
> /scm/qemu/exec.c: In function ‘qemu_ram_alloc_from_ptr’:
> /scm/qemu/exec.c:1107:32: error: comparison of distinct pointer types lacks a 
> cast [-Werror]
>              if (phys_mem_alloc != qemu_anon_ram_alloc) {
>                                 ^
> /scm/qemu/exec.c: In function ‘qemu_ram_remap’:
> /scm/qemu/exec.c:1251:38: error: comparison of distinct pointer types lacks a 
> cast [-Werror]
>                      assert(phys_mem_alloc == 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]