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 C2034

'identifier' : type of bit field too small for number of bits

The number of bits in the bit-field declaration exceeds the size of the base type. The following sample generates C2034:

struct A {
   char test : 9;   // C2034, char has 8 bits
   // try ...
   // char test : 8;
};

void main() {
}