On Fri, Oct 24, 2008 at 07:50:13PM +0200, Jim Meyering wrote: > I've been building with mingw to make sure that my gnulib-upgrade-and-extend > patch doesn't break anything and found some compiler warnings. > I fixed most of them, but this one is ugly: [snip] > Better would be to fix the decl in xdr.h, but probably not feasible. > Alternatively, redefine XDR_INLINE for mingw, adding the void* cast in that. > But that means peeking inside (and copying) the current definition, > so I prefer the above. I'd go for fixing XDR_INLINE, since this comes from portablexdr which is a package Rich maintains especially for libvirt's use :-) http://et.redhat.com/~rjones/portablexdr/ Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :| -- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list