NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error C2147

'identifier' : const automatic array must be fully initialized

The specified array is declared as const but not all elements are initialized when the array is defined.

The following sample generates C2147:

void func(void) {
const int arr[10] = { 1, 2};   // C2147
// This is not an error if the array is declared global...
}