หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
'clause' : clause not valid on OpenMP 'directive' directive
Remarks
An OpenMP clause was used on a directive for which it is not enabled.
Example
The following example generates C3004:
// C3004.c
// compile with: /openmp
int main()
{
int x, y, z;
// Shared clause not allowed for 'single' directive.
#pragma omp single shared(x, y) // C3004
x = y;
}