Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Error C3009
Collapse the table of content
Expand the table of content

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 
   goto lbl2;   // C3009

Community Additions

© 2015 Microsoft