description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: Compiler Error C3006 |
Compiler Error C3006 |
11/04/2016 |
|
|
449082ec-fd45-4c47-8ab3-ba6a719e4dc4 |
'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) {}
}