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 Warning (level 4) C4127

conditional expression is constant

The controlling expression of an if statement or while loop evaluates to a constant. The code in the body of the if statement or while loop always executes or never executes. The following sample generates C4127:

void main() {
   if (1 == 1) {   // C4127, constant expression
   }
}