Compiler Error C3002
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 C3002.
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: