Re: [PATCH 5/5] Add a qemuMonitorGetMachines() method for query-machines command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/20/2012 11:00 AM, Eric Blake wrote:
> On 08/20/2012 10:57 AM, Daniel P. Berrange wrote:

>>>> +    CHECK(0, "pc-1.0", false, null);
>>>
>>> Can't you just s/null/NULL/ and avoid the intermediate variable?
>>
>> I hit some GCC-wierdness when doing that:
>>
>>   CC     qemumonitorjsontest-qemumonitorjsontest.o

> That argues that our STRNEQ_NULLABLE and NULLSTR macros should be made a
> bit smarter.  I'll play with it, to see if I can reproduce; what gcc
> version were you using?

I reproduced and solved it:
https://www.redhat.com/archives/libvir-list/2012-August/msg01367.html

-- 
Eric Blake   eblake@xxxxxxxxxx    +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

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]