Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
'identifier' : 'naked' can only be applied to non-member function definitions
The naked attribute was applied to a function declaration.
The following sample generates C2488:
// C2488.cpp
// compile with: /c
// processor: x86
__declspec( naked ) void func(); // C2488 declaration, not definition
__declspec( naked ) void i; // C2488 i is not a function
__declspec( naked ) void func() {} // OK