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 C2149

'identifier' : named bit field cannot have zero width

Bit fields can have zero width only if unnamed. The following sample generates C2149:

struct C {
   int i : 0;   // C2149
   // try ...
   // int j : 2;   // ok
};

void main() {
}