Compiler Error C2362

initialization of 'identifierr' is skipped by 'goto label'

A jump to the specified label prevented the specified identifier from being initialized.

It is illegal to jump past a declaration with an initializer unless:

The following is an example of this error:

void func()
{
   goto label1;
   int i = 1;         // error, initialization skipped  
   {     
      int j = 1;      // OK, this block is never entered
   }
label1:;
}