Błąd kompilatora C3006Compiler Error C3006
Brak oczekiwanego argumentu klauzuli "klauzula": w dyrektywie OpenMP "dyrektywa"'clause' : clause on OpenMP 'directive' directive is missing an expected argument
Dyrektywa OpenMP nie ma oczekiwanego argumentu.An OpenMP directive did not have an expected argument.
Poniższy przykład generuje C3006: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) {}
}