नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
expected identifier for segment name; found 'symbol'
Remarks
The name of the segment in #pragma alloc_text must be a string or an identifier. The compiler ignores the pragma if a valid identifier is not found.
Example
The following example generates C4080:
// C4080.cpp
// compile with: /W1
extern "C" void func(void);
#pragma alloc_text() // C4080
// try this line to resolve the warning
// #pragma alloc_text("mysection", func)
int main() {
}
void func(void) {
}