Aracılığıyla paylaş


Derleyici Hatası C3013

'clause' : yan tümcesi OpenMP 'yönergesi' yönergesinde yalnızca bir kez görünebilir

Açıklamalar

Yan tümcesi aynı yönergede iki kez göründü. Yan tümcesinin bir oluşumunu silin.

Example

Aşağıdaki örnek C3013 oluşturur:

// C3013.cpp
// compile with: /openmp
int main() {
   int a, b, c, x, y, z;

   #pragma omp parallel shared(a,b,c) private(x)

   #pragma omp for nowait private(x) nowait   // C3013
   // The previous line generates C3013, with two nowait clauses
   // try the following line instead:
   // #pragma omp for nowait private(x)
   for (a = 0 ; a < 10 ; ++a) {
   }
}