Re: [Spice-devel] [PATCH server] tests: Initialize all members of SpiceBaseInterface struct

2017-06-23 Thread Michal Privoznik
"test > spice virtual channel char device", > > The solution is to initialize .base member as a structure at once > instead of multiple times per each member. > > Signed-off-by: Michal Privoznik > ** > Yup, this

Re: [Spice-devel] [PATCH server] tests: Initialize all members of SpiceBaseInterface struct

2017-06-22 Thread Michal Privoznik
On 06/22/2017 05:20 PM, Frediano Ziglio wrote: >> >> When compiling, -Werror=missing-field-initializers is enabled. >> However, gcc fails to see that all the members of the >> SpiceBaseInterface struct are initialized: >> >> test-display-base.c:844:5: error: missing initializer for field >> 'descri

[Spice-devel] [PATCH server] tests: Initialize all members of SpiceBaseInterface struct

2017-06-22 Thread Michal Privoznik
g-field-initializers] .base.description = "test spice virtual channel char device", The solution is to initialize .base member as a structure at once instead of multiple times per each member. Signed-off-by: Michal Privoznik --- server/tests/test-display-base.c | 10 ++-

[Spice-devel] [PATCH] configure: Require spice-protocol-0.12.11 at least

2016-02-24 Thread Michal Privoznik
: Michal Privoznik --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3396c71..f5445c0 100644 --- a/configure.ac +++ b/configure.ac @@ -99,7 +99,7 @@ AS_IF([test x"$have_smartcard" = "xyes"], [ AS_VAR_AP

[Spice-devel] [PATCH] Update .gitignore files

2016-02-24 Thread Michal Privoznik
previous case, git should never track this file. Signed-off-by: Michal Privoznik --- .gitignore | 1 + server/tests/.gitignore | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index eb35f4b..90fb62a 100644 --- a/.gitignore +++ b/.gitignore @@ -27,6 +27,7