Compiler Warning (level 4) C4207
nonstandard extension used : extended initializer form
With Microsoft extensions (/Ze), you can initialize an unsized array of char
using a string within braces.
Example
// C4207.c
// compile with: /W4
char c[] = { 'a', 'b', "cdefg" }; // C4207
int main()
{
}
Such initializations are invalid under ANSI compatibility (/Za).
คำติชม
https://aka.ms/ContentUserFeedback
เร็วๆ นี้: ตลอดปี 2024 เราจะขจัดปัญหา GitHub เพื่อเป็นกลไกคำติชมสำหรับเนื้อหา และแทนที่ด้วยระบบคำติชมใหม่ สำหรับข้อมูลเพิ่มเติม ให้ดู:ส่งและดูข้อคิดเห็นสำหรับ