Omission re static linkage

Will Golson golson at hpfcso.HP.COM
Thu Oct 26 07:16:00 AEST 1989


>According to section 3.1.2.2, declarations [1] and [3] refer to the
>same identifier, and function f3 has internal linkage.  However, the
>standard neglects to state what declaration [2] refers to.

Actually, there is a linkage conflict between [1] and [3].  As for
[2], section 3.5.1, under 'Semantics', states that block scope
function declarations shall have no explicit storage-class specifier
other than 'extern'.

Will Golson



More information about the Comp.std.c mailing list