Re: [PATCH] libvirt, logging: cleanup VIR_DEBUG0() VIR_INFO0() VIR_WARN0() VIR_ERROR0()

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

 



On 05/10/2011 08:43 PM, Lai Jiangshan wrote:
> Is this OK?  "fmt..."
> 
> #define high_level_api(fmt...) low_level_api(fmt)

Nope, that's also a gcc extension.

But I still think it's possible to define VIR_DEBUG in a way that uses
only C99 features while still distinguishing between the 1-arg and
multi-arg uses, so I will probably apply your patch plus a followup once
I can finish writing and testing my followup.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
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]