[libvirt] how to print size_t in LGPLv2+ program
Bruno Haible
bruno at clisp.org
Tue Aug 17 23:53:25 UTC 2010
[removed bug-gnulib from CC]
Eric Blake wrote:
> > printf ("%" PRIuPTR, (uintptr_t) size_t_value);
>
> But still needs the use of need-formatstring-macros, and gettext 0.16.1
> or newer (whereas libvirt is stuck on 0.14.1 at the moment).
The uses of these formatstring macros require
- at package preparation time: the AM_GNU_GETTEXT macro from gettext
0.16.1 or newer,
- at build time and run time: a glibc newer than 2004-01-14 [1].
So, it requires gettext >= 0.16.1 to be installed ONLY on the machines
which are used to develop and release libvirt.
Bruno
[1] http://sourceware.org/git/?p=glibc.git;a=commit;h=083dc54a01d3b65b9d95599e4015256c9ee25342
More information about the libvir-list
mailing list