หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
'function': function has already been defined
Remarks
An alloc_text pragma uses a function name already defined. Ensure the alloc_text pragma appears after the function declaration but before its definition.
Example
The following example generates C2200:
// C2200.cpp
// compile with: /c
extern "C" void func() {}
#pragma alloc_text("section", func) // C2200