Re: [PATCH] Fix build of portallocator on mingw

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

 



[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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]