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 C2120

'void' illegal with all types

The void type is used in a declaration with another type. The following sample generates C2120:

void main() {
   void int i;
   // try ...
   // int i;
}