This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Compiler Error C2117
'identifier' : array bounds overflow
An array has too many initializers.
Possible causes
- Array elements and initializers do not match in size and quantity.
- No space for the null terminator in a string.
The following sample generates C2117:
void main() {
char abc[4] = "abcd"; // C2117
// try ...
// char abc[4] = "abd";
}