This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 113d. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2024-03-20


2001. non-directive is underspecified

Section: Clause 15  [cpp]     Status: CD4     Submitter: Richard Smith     Date: 2014-09-10

[Adopted at the February, 2016 meeting.]

The Standard needs to describe non-directives more fully, e.g., whether they are ill-formed, conditionally-supported, etc. Since they are, in fact, directives, a different name might also be in order.

Proposed resolution (October, 2015):

  1. Change Clause 15 [cpp] paragraph 1 as follows:

  2. Change Clause 15 [cpp] paragraph 2 as follows:

  3. A text line shall not begin with a # preprocessing token. A non-directive conditionally-supported-directive shall not begin with any of the directive names appearing in the syntax. A conditionally-supported-directive is conditionally supported with implementation-defined semantics.