This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 119a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2025-12-20
(From submission #794.)
The octal integer literal 0 is not covered by the rule in 5.13.2 [lex.icon] paragraph 1.
Possible resolution:
Change in 5.13.2 [lex.icon] paragraph 1 as follows:
In an integer-literal,
- the sequence of binary-digits
, octal-digits, digits,or hexadecimal-digits or- the sequence of digits in an octal-literal or decimal-literal
isare interpreted as a base N integer as shown in Table 7; the lexically first digit of the sequence of digits is the most significant.