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 C2045

'identifier' : label redefined

The label appears before multiple statements in the same function. The following sample generates C2045:

void main() {
// to resolve, delete one of the label: blocks
   label: {
   }
   goto label;
   label: {
   }
}