Re: Draft C2Y _BitInt related proposals

Martin Uecker <[email protected]>
Newsgroups gmane.comp.lib.glibc.alpha,gmane.comp.gcc.devel
Message-ID <[email protected]>
Am Dienstag, dem 07.07.2026 um 16:47 +0200 schrieb Jakub Jelinek:
> Hi!
> 
> As I wrote earlier, I'd like to see _BitInt I/O support in
> *printf*/*scanf* and extending support of _BitInt in stdbit.h
> in C2Y.
> 
> For those I wrote drafts of possible C2Y papers:
> https://jakubjelinek.github.io/wg14/va_arg_bitint.html
> https://jakubjelinek.github.io/wg14/stdbit_bitint.html
> 
> I'd appreciate any comments on this.
> Haven't tried to acquire paper numbers for these yet.
> 
> 	Jakub

Looks already good to me. I noticed some minor editorial
issues:

In the paragraph before proposal there is some closing
tag missing for <code> after _BitInt.

In "Possible variants" there is a closing parenthesis
missing in the last sentence and in the proposed wording 

7.16.2.3 The va_arg_bitint macro

there is a closing parenthesis missing in the description
after _BitInt(N)


(Otherwise I still think that allowing a variably-modified
_BitInt in va_arg would be more elegant, because we
might also want _BitInt(*) for matching in _Generic)

Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.