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

Re: [libvirt] how to print size_t in LGPLv2+ program



[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


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