Compiler Warning (level 3) C4064

switch of incomplete enum 'identifier'

A switch statement specified a selector of an enumerated type that was not defined.

The following example causes this warning

enum E;
void func ( E e )
{
   switch(e)
   {
   case 7:
      break;  // warning, E not defined
   }
}