This documentation is archived and is not being maintained.

Compiler Error C3001

Error Message

'error_text' : expected an OpenMP directive name

The omp pragma must be followed by a directive.

The following sample generates C3001:

// C3001.c
// compile with: /openmp
int main()
{
   #pragma omp   // C3001 missing token
}
Show: