This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of New status.
<foo.h>
headers not in freestandingSection: 16.4.2 [organization] Status: New Submitter: Ben Craig Opened: 2024-01-26 Last modified: 2024-01-28
Priority: Not Prioritized
View all issues with New status.
Discussion:
There are many C-ish <cfoo>
headers in freestanding. There isn't anything that
requires the matching C <foo.h>
headers to be in freestanding.
Proposed resolution:
This wording is relative to N4971.
Modify 16.4.2.3 [headers] as indicated:
-9- 17.14 [support.c.headers], C standard library headers, describes the effects of using the
name.h
(C header) form in a C++ program. Thename.h
form is the corresponding C header form.
Modify 16.4.2.5 [compliance] as indicated:
-2- A freestanding implementation has an implementation-defined set of headers. This set shall include at least the headers shown in Table 27 and the corresponding C header form (16.4.2.3 [headers]) of each of the C++ headers for C library facilities (Table 25) included in Table 27.