Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
'__LOCAL_SIZE' only allowed in function with the 'naked' attribute
Remarks
In inline assembly functions, the name __LOCAL_SIZE is reserved for functions declared with the naked attribute.
Example
The following example generates C2486:
// C2486.cpp
// processor: x86
void __declspec(naked) f1() {
__asm {
mov eax, __LOCAL_SIZE
}
}
void f2() {
__asm {
mov eax, __LOCAL_SIZE // C2486
}
}