This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD Editorial status.

2281. C99 cross-reference typo in [using.linkage]

Section: 16.4.3.3 [using.linkage] Status: NAD Editorial Submitter: Chris Sharpe Opened: 2013-08-23 Last modified: 2016-01-28

Priority: Not Prioritized

View all other issues in [using.linkage].

View all issues with NAD Editorial status.

Discussion:

There is a footnote at section 16.4.3.3 [using.linkage]/2 that reads:

"The only reliable way to declare an object or function signature from the Standard C library is by including the header that declares it, notwithstanding the latitude granted in 7.1.7 of the C Standard."

There is no section 7.1.7 in the C99 Standard (or C11 final draft). I think the relevant section is:

"Provided that a library function can be declared without reference to any type defined in a header, it is also permissible to declare the function and use it without including its associated header."

at 7.1.4/2 from C99.

[2013-09 Chicago]

Moved to NAD Editorial.

Proposed resolution:

This wording is relative to N3691.

  1. Edit footnote 182, 16.4.3.3 [using.linkage] as indicated:

    The only reliable way to declare an object or function signature from the Standard C library is by including the header that declares it, notwithstanding the latitude granted in 7.1.77.1.4 of the C Standard.