
12 Dec
2013
12 Dec
'13
12:58 p.m.
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