qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: qemu-devel@nongnu.org, Anthony Liguori <anthony@codemonkey.ws>
Subject: [Qemu-devel] qemu master build errors
Date: Mon, 14 Oct 2013 17:08:58 +0300	[thread overview]
Message-ID: <20131014140858.GA16237@redhat.com> (raw)

/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
make: *** [subdir-cris-softmmu] Error 2
make: *** Waiting for unfinished jobs....
  CC    arm-softmmu/translate-all.o
/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
make: *** [subdir-alpha-softmmu] Error 2
  CC    arm-softmmu/cpu-exec.o
  CC    arm-softmmu/tcg/tcg.o
/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
make[1]: *** Waiting for unfinished jobs....
  CC    i386-softmmu/translate-all.o
/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

             reply	other threads:[~2013-10-14 14:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-14 14:08 Michael S. Tsirkin [this message]
2013-10-14 14:26 ` [Qemu-devel] qemu master build errors Michael S. Tsirkin
2013-10-14 14:38 ` Markus Armbruster
2013-10-14 14:51   ` Michael S. Tsirkin
2013-10-14 15:06     ` Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131014140858.GA16237@redhat.com \
    --to=mst@redhat.com \
    --cc=anthony@codemonkey.ws \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).