On 12/12/2013 09:05 AM, Michal Privoznik wrote: >> Or maybe even change _virObject to contain a union: >> >> struct _virObject { >> union { >> long long align; >> struct { >> unsigned int magic; >> int refs; >> } s; >> } u; >> virClassPtr klass; >> } > > Yep. I can confirm that this works. This and all the subsequent code > adaptations made me able to compile again. Will you post it as a patch > please? Yes, I'll turn it into a formal patch. -- 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