On 05/30/2013 06:39 AM, Eric Blake wrote:
>> I'll wait for a review on this one, particularly since
I'm still
>> trying to solve another qemu failure on cygwin:
>>
>> qemu/qemu_monitor.c:418:9: error: passing argument 2 of 'sendmsg' from
incompatible pointer type
>> /usr/include/sys/socket.h:42:11: note: expected 'const struct msghdr *'
but argument is of type 'struct msghdr *'
As far as I can tell, this seems like a bug in cygwin's gcc (4.5.3);
still no idea how I will work around that yet.
Found the root cause - a bug in cygwin's <sys/un.h> requires that
<sys/socket.h> be included first prior to any use of struct msghdr.
Patch coming up soon.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org