'identifier' : 'naked' can only be applied to function definitions
The naked attribute was applied to a function declaration.
The following is an example of this error:
__declspec( naked ) int func(); // error, declaration, not definition
__declspec( naked ) int i; // error, i is not a function