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 C2150

'identifier' : bit field must have type 'int', 'signed int', or 'unsigned int'

ANSI C (/Za) requires bit fields to be int, signed int, or unsigned int. The following sample generates C2150:

struct A {
   float a : 8;   // C2150
   // try ...
   // int i : 8;   // ok
};

void main() {
}