[Libvir] Re: libvirt on mingw

Brecht Sanders wrote:
Hello again, Note that I am using gcc (mingw) 3.4.5, and not 4 as you recommend. The attached patch got rid of the warnings though. Maybe there is a compiler switch to fix it in a cleaner way though. Anyway, with the attached patch it does compile. Basically it casts to void* before converting to a different type.
Cheers for the patch, I'll take a look at it tomorrow ... There is a reason why you need to use gcc 4 although it's been so long since I did this that I can't remember exactly why now. Possibly it was some compiler feature that we use in libvirt. Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 03798903
participants (1)
-
Richard W.M. Jones