Muokkaa

Jaa


Compiler Error C3010

'label' : jump out of OpenMP structured block not allowed

Code cannot jump into or out of an OpenMP block.

The following sample generates C3010:

// C3010.c
// compile with: /openmp
int main() {
   #pragma omp parallel
   {
      #pragma omp parallel
      {
         goto lbl3;
      }
   }
   lbl3:;   // C3010
}