Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Warning (level 4) C4207
Collapse the table of content
Expand the table of content

Compiler Warning (level 4) C4207

Error Message

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).

Community Additions

ADD
Show:
© 2015 Microsoft