[libvirt] [PATCH] Fix build of portallocator on mingw
Eric Blake
eblake at redhat.com
Thu Feb 20 12:38:34 UTC 2014
[adding gnulib]
On 02/20/2014 02:39 AM, Ján Tomko wrote:
> IN6ADDR_ANY_INIT does not seem to be working as expected on MinGW:
> error: missing braces around initializer [-Werror=missing-braces]
> .sin6_addr = IN6ADDR_ANY_INIT,
>
> Use the in6addr_any variable instead.
>
> Reported by Daniel P. Berrange.
> ---
> Pushed as a build breaker.
For libvirt, I'm half tempted to just kill -Wmissing-braces on platforms
whose headers don't have enough {}. Have we filed a bug report against
mingw's headers yet?
Also, perhaps gnulib could be taught to work around the problem.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140220/d31b5db9/attachment-0001.sig>
More information about the libvir-list
mailing list