[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new modules *printf-gnu
From: |
Bruno Haible |
Subject: |
Re: new modules *printf-gnu |
Date: |
Sat, 25 Mar 2023 01:40:19 +0100 |
Paul Eggert wrote:
> > * Logically, there should also be definitions of
> > PRIbN PRIbLEASTN PRIbFASTN PRIbMAX PRIbPTR
> > in <inttypes.h>, but I do not see them in the latest complete PDF
> > https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3088.pdf
> > section 7.8.1.(3).
> > * These macros are redundant anyway:
>
> Aren't they omitted because they would indeed be redundant?
Well, glibc has PRIb* already in <inttypes.h>. [1] Would Joseph Myers
have added them if they were not in ISO C 23?
Really, I find it hard to follow the evolution of a standard, without
access to the latest complete document.
Bruno
[1] https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=2d4728e60621
Re: *printf-posix: ISO C 23: Add %b directive for binary output of integers, Bruno Haible, 2023/03/22