Compiler Warning (level 2) C4007
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

Compiler Warning (level 2) C4007

Error Message

'function' : must be 'attribute'

A required attribute for a function is not explicitly stated. For example, the function main must have the __cdecl attribute. The compiler forces the attribute.

© 2016 Microsoft