On Thu, 15 Jan 2026, Kamila Szewczyk wrote:
> + /* Nonzero for C2y N3792 feature __VA_COUNT__. */
> + unsigned char va_count;
Note that -std=c2y -pedantic and -std=gnu2y -pedantic correspond to what's
actually in C2y (in the working draft or voted for inclusion into the
working draft), not simply proposed or having received along-the-lines
support in a straw poll.
> + /* GNUC2Y */ { 1,0,1,1,1,1,0,1,1,1,0,1,1,0,1,1,1,1,0,1,1,1,0,1,1,1,1,1,1
> },
> + /* STDC2Y */ { 1,0,1,1,1,1,1,1,1,0,0,1,1,0,1,1,1,1,0,1,1,1,0,1,1,1,1,1,1
> },
So any patch proposed before the feature is in C2y should have 0 there,
not 1, and there should be corresponding tests of how -pedantic and
-pedantic-errors behave (in addition to such tests in C23 mode).
--
Joseph S. Myers
[email protected]