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) C4061

enumerate 'identifier' in switch of enum 'enumeration' is not explicitly handled by a case label

The enumerate has no associated handler in a switch statement.

This warning is off by default. To turn it on, use the warning pragma:

#pragma warning(default : 4061)

Example

enum E { a, b, c };
void func ( E e )
{
   switch(e)
   {
   case a:
   case b:
   default:
      break;
   }        // warning, enumerate 'c' not handled by a case label
}