Re: [libvirt] detecting uses of %zu

2010-08-18 Thread Bruno Haible
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

Re: [libvirt] detecting uses of %zu

2010-08-18 Thread Mike Frysinger
On Tue, Aug 17, 2010 at 6:41 PM, Bruno Haible wrote: 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