Compiler Error C3003
'directive' : OpenMP directive name not allowed after directive clauses
An OpenMP directive name cannot follow an OpenMP directive clause.
The following sample generates C3003:
// C3003.c
// compile with: /openmp
int main()
{
int x, y, z;
#pragma omp parallel shared(x, y, z) for // C3003
}
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