Skip to contentSkip to conversation

QXL and spice builds broken on 32-bits

Qemu-devel Luiz Capitulino 1 participant 1 message Jun 19, 2014

lore
Share & tools
lore
#0 lore raw

Gerd,

Please, disregard if this was reported before, but QXL and spice builds are br0ken on 32-bits:

"""
/root/qmp-unstable/hw/display/qxl.c: In function ‘interface_release_resource’:
/root/qmp-unstable/hw/display/qxl.c:713:33: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]

         QXLCommandExt *cmdext = (void *)(ext.info->id);
                                 ^

cc1: all warnings being treated as errors
make: *** [hw/display/qxl.o] Error 1 """

"""
/root/qmp-unstable/ui/spice-display.c: In function ‘interface_release_resource’:
/root/qmp-unstable/ui/spice-display.c:537:11: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]

     ext = (void *)(rext.info->id);
           ^

cc1: all warnings being treated as errors
make: *** [ui/spice-display.o] Error 1
make: *** Waiting for unfinished jobs.... """

(Yeah, I'm root because I love danger)