Re: detecting uses of "%zu"

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

 



Eric Blake wrote:
> it still requires auditing code
> and forbidding "%zu" in favor of "%"PRIuSIZE (or whatever other name we
> settle on).

You could hack GCC, clang, or even xgettext to produce a warning when it
sees a 'z' size modifier in a format string.

Bruno

--
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]