Compiler Error C3007
'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
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for