Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
'arg' : clause on OpenMP 'directive' directive does not take an argument
An OpenMP directive had an argument, but the directive does not take an argument.
The following sample generates C3007:
// C3007.c
// compile with: /openmp
int main()
{
#pragma omp parallel for ordered(2) // C3007
}