This documentation is archived and is not being maintained.

Compiler Error C3002

Error Message

'name1 name2' : multiple OpenMP directive names

Multiple directive names are not allowed.

The following sample generates C3002:

// C3002.c
// compile with: /openmp
int main()
{
   #pragma omp parallel single   // C3002
}
Show: