This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 112e. See for the official list.


2050. Consolidate specification of linkage

Section: 9.2.2  []     Status: NAD     Submitter: Alisdair Meredith     Date: 2014-11-26

9.2.2 [] paragraph 7 seems out of place in the current organization of the Standard:

The linkages implied by successive declarations for a given entity shall agree. That is, within a given scope, each declaration declaring the same variable name or the same overloading of a function name shall imply the same linkage. Each function in a given set of overloaded functions can have a different linkage, however. [Example:...

The preceding two paragraphs on static and extern simply defer to 6.6 [] to describe their interaction with linkage, so it seems appropriate for this paragraph to move there as well so that all the information on linkage is in one place.

Rationale (May, 2015):

The material in 6.6 [] deals with linkage concepts, while 9.2.2 [] is concerned with the syntactic constructs in a program that result in the linkages described in 6.6 []. CWG felt that the referenced paragraph falls more into the latter category than the former.