Compiler Warning (level 1) C4502
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Compiler Warning (level 1) C4502

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.

© 2015 Microsoft