Compiler Error C3001
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at Compiler Error C3001.
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: