gmake: Entering directory '/home/lantw44/gnome/build/spice-gtk-git/src'
In file included from /home/lantw44/gnome/source/spice-gtk-git/src/client_sw_canvas.c:20:
In file included from /home/lantw44/gnome/source/spice-gtk-git/spice-common/common/sw_canvas.c:27:
/home/lantw44/gnome/source/spice-gtk-git/spice-common/common/canvas_base.c:600:28: error: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Werror,-Wcast-align]
enc_size = ntohl(*((uint32_t *)data));
It seems that this kind of error is already fixed in many places.
Proposed patch at https://lists.freedesktop.org/archives/spice-devel/2018-January/041476.html
Thanks, the patch works for me.
Merged, posted a patch to add needed spice-gtk change (import last spice-common).