הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
termination test in OpenMP 'for' statement has improper form
Remarks
A for loop in an OpenMP statement must be fully and explicitly specified.
Example
The following example generates C3017:
// C3017.cpp
// compile with: /openmp
int main()
{
int i = 0, j = 10;
#pragma omp parallel
{
#pragma omp for
for (i = 0; i; ++i) // C3017
// Try the following line instead:
// for (i = 0; i < 10; ++i)
;
}
}