Compiler Error C3006
'clause' : clause on OpenMP 'directive' directive is missing an expected argument
An OpenMP directive did not have an expected argument.
The following sample generates C3006:
// C3006.c
// compile with: /openmp
int main()
{
#pragma omp parallel shared // C3006
// Try the following line instead:
// #pragma omp parallel shared(x) {}
}
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