Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Path | csiph.com!news.mixmin.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Keith Thompson <Keith.S.Thompson+u@gmail.com> |
| Newsgroups | comp.std.c |
| Subject | Re: Reduced Translation Limit in C2x N2912 Working Draft |
| Date | Sun, 03 Jul 2022 12:38:57 -0700 |
| Organization | None to speak of |
| Lines | 24 |
| Message-ID | <87edz2t29a.fsf@nosuchdomain.example.com> (permalink) |
| References | <1a06d989-4eac-4899-89cb-b0a1cc20c73an@googlegroups.com> |
| MIME-Version | 1.0 |
| Content-Type | text/plain |
| Injection-Info | reader01.eternal-september.org; posting-host="8fe26aeb0eb66d841729e326cee2b7a1"; logging-data="3292119"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18w5lZJrfxGp6pRLSBvNf23" |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
| Cancel-Lock | sha1:J8a/r9ovzSaYrMukQtpGFJvd7ow= sha1:pYO2CGWO9IhTWmZExBWuGEDDe8g= |
| Xref | csiph.com comp.std.c:6439 |
Show key headers only | View raw
arnab chatterjee <arnabchatterjeeofficial@gmail.com> writes:
> In section 5.4.2.1 (Translation limits) of the latest C2x working
> draft (https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2912.pdf) it
> says that the minimum upper limit on the number of bytes in an object
> is only 32767 (for hosted environments). However, since C89 this limit
> has always been 65535 (even for previous working drafts of C2x).
>
> Any reason/thoughts behind this silent change (or could this just be a
> typo in the N2912 draft)?
Correction: The limit in C90 was 32767 bytes, changed to 65535 in C99.
It appears to be a deliberate change.
The N2731 draft (2021-10-18) kept the limit of 65535 bytes. N2912
(2022-07-08) changed it to 32767.
This change appears to be in response to "N2808: allow 16-bit ptrdiff_t
again", <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2808.htm>.
--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Philips
void Void(void) { Void(); } /* The recursive call of the void */
Back to comp.std.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Reduced Translation Limit in C2x N2912 Working Draft arnab chatterjee <arnabchatterjeeofficial@gmail.com> - 2022-07-03 03:30 -0700
Re: Reduced Translation Limit in C2x N2912 Working Draft Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2022-07-03 12:38 -0700
Re: Reduced Translation Limit in C2x N2912 Working Draft arnab chatterjee <arnabchatterjeeofficial@gmail.com> - 2022-07-03 17:00 -0700
csiph-web