Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Allowing a 16 bit ptrdiff_t

15 views
Skip to first unread message

Philipp Klaus Krause

unread,
Sep 3, 2021, 4:30:37 AM9/3/21
to
Since C99, ptrdiff_t needs to have at least 17 bit. IMO, this places an
unnecessary burden on 16-bit systems, and should be changed. The problem
was pointed out when the 17 bit requirement was introduced for C99, but
WG14 chose to go ahead anyway. By now time has shown that C compilers
targeting 16-bit systems just ignore that part of the standard, and
continue to use a 16-bit type.

http://www.colecovision.eu/stuff/proposal-ptrdiff.html

Philipp

0 new messages