Compiler Warning (levels 2 and 3) C4008
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 (levels 2 and 3) C4008

Error Message

'identifier' : 'attribute' attribute ignored

The compiler ignored the __fastcall, static, or inline attribute for a function (level 3 warning) or data (level 2 warning).

To fix by checking the following possible causes

  1. __fastcall attribute with data.

  2. static or inline attribute with main function.

© 2015 Microsoft