[Spice-devel] Build error (possible mirroring issue?)

Christophe de Dinechin dinechin at redhat.com
Mon Mar 18 11:45:54 UTC 2019


Hey team,


I get a build failure that looks like this:

char-device.c:906:52: error: too many arguments to function call, expected single argument 'm', have 2 arguments
    m2 = spice_marshaller_get_ptr_submarshaller(m, 0);
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    ^
/Users/ddd/Work/spice/common/common/marshaller.h:56:1: note: 'spice_marshaller_get_ptr_submarshaller' declared here
SpiceMarshaller *spice_marshaller_get_ptr_submarshaller(SpiceMarshaller *m);
^
1 error generated.

Indeed, the prototype was changed in spice-common by

commit 302e30ff43401d9b1e7043a5e5c4f186ca997f66
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Wed Feb 27 08:55:56 2019 +0000

    codegen: Remove support for --ptrsize  
 
This is talking master for the server component from from https://gitlab.freedesktop.org/spice/spice.git.

Is this a git mirroring issue, or a missing commit on the server side?


Thanks
Christophe


More information about the Spice-devel mailing list