Export (0) Print
Expand All
Expand Minimize

Compiler Error C3009

Error Message

'label' : jump into OpenMP structured block not allowed

Code cannot jump into or out of an OpenMP block.

The following sample generates C3009:

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

Community Additions

ADD
Show:
© 2014 Microsoft