The document is archived and information here might be outdated
Compiler Warning (level 1) C4502
Visual Studio 2005
Error Message'linkage specification' requires use of keyword 'extern' and must precede all other specifiers
A linkage was specified without the extern keyword. Linkage is not relevant to non-extern types.
The compiler assumed the extern keyword.