Compiler Warning (level 4) C4211
nonstandard extension used : redefined extern to static
With the default Microsoft extensions (/Ze), you can redefine an extern
identifier as static
.
Example
// C4211.c
// compile with: /W4
extern int i;
static int i; // C4211
int main()
{
}
Such redefinitions are invalid under ANSI compatibility (/Za).
คำติชม
https://aka.ms/ContentUserFeedback
เร็วๆ นี้: ตลอดปี 2024 เราจะขจัดปัญหา GitHub เพื่อเป็นกลไกคำติชมสำหรับเนื้อหา และแทนที่ด้วยระบบคำติชมใหม่ สำหรับข้อมูลเพิ่มเติม ให้ดู:ส่งและดูข้อคิดเห็นสำหรับ