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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
>> 'description' of 'SpiceBaseInterface'
>> [-Werror=missing-field-initializers] .base.description   = "test
>> spice virtual channel char device",
>>
> 
> In my environment it compile without problems. Which compiler
> and version are you using? Can you add this information to the
> commit message?

Sure:

$ gcc --version
gcc (Gentoo 4.9.4 p1.0, pie-0.6.4) 4.9.4
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Also, this is a gentoo box. I don't have a commit rights, so do you want me to update the commit message and resend? Or will the commiter fix this before pushing?

Michal
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]