使用的非標準延伸模組:long float
備註
預設Microsoft延伸模組 (/Ze) 會將長浮點。 ANSI 兼容性 (/Za) 沒有。 使用 double 來維護相容性。
Example
下列範例會產生 C4215:
// C4215.cpp
// compile with: /W1 /LD
long float a; // C4215
// use the line below to resolve the warning
// double a;
使用的非標準延伸模組:long float
預設Microsoft延伸模組 (/Ze) 會將長浮點。 ANSI 兼容性 (/Za) 沒有。 使用 double 來維護相容性。
下列範例會產生 C4215:
// C4215.cpp
// compile with: /W1 /LD
long float a; // C4215
// use the line below to resolve the warning
// double a;