הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
'text1' and 'text2' are indistinguishable as arguments to 'directive'
Remarks
Because of the way the compiler processes arguments to directives, names that have meaning to the compiler, such as keywords with multiple text representations (single and double underscore forms), cannot be distinguished.
Examples of such strings are __cdecl and __forceinline. Note, under /Za, only the double underscore forms are enabled.
Example
The following example generates C4937:
// C4937.cpp
// compile with: /openmp /W4
#include "omp.h"
int main() {
#pragma omp critical ( __leave ) // C4937
;
// OK
#pragma omp critical ( leave )
;
}