This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 117a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2025-04-13
[Accepted as a DR at the November, 2024 meeting.]
Given the existing implementation divergence, it should beclarified that__LINE__ counts physical source lines, notlogical ones.
Proposed resolution (approved by CWG 2024-08-16):
Change in 15.8 [cpp.line] paragraph 2 as follows:
Theline number of the current source line isthe linenumber of the current physical source line, i.e. it is onegreater than the number of new-line characters read or introduced intranslation phase 1 (5.2 [lex.phases]) while processing thesource file to the current token.