[dropping libvirt, for now]

On 08/17/2010 05:28 PM, Bruno Haible wrote:
> Eric Blake wrote:
>> Here's where a cross-project change to GNU Coding Standards could be
>> helpful - if we all agree that gnulib should add the macro and gettext
>> should add the support for it at the same time, then it would be much
>> easier for all remaining GNU projects to take advantage of a
>> standardized name
> 
> Yes. And it will need either a POSIX change or a common GNU extension,
> because you will also need it implemented in glibc
> <http://sourceware.org/git/?p=glibc.git;a=blob;f=intl/loadmsgcat.c>.
> 
> That's certainly a thing you could propose to the Austin group.

Unfortunately, it won't go anywhere with the Austin group without prior
implementation practice; and even then it is unlikely.  Basically, since
%zu is already specified by C99 and POSIX, the only reason that you
would need PRIuSIZE is if you are targetting a non-POSIX system that
lacks %zu in the first place.  But if a platform already lacks %zu, what
makes you think they are going to have PRIuSIZE?

If we are going to have any luck standardizing it anywhere, it would
have to be in the GNU Coding Standards, since that is the only document
that specifically talks about portability issues to non-POSIX platforms
and can afford to invent extensions to C99 and POSIX that we are willing
to assume among all GNU projects.

-- 
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to