Compilerwarnung (Stufe 1) C4215
Nicht dem Standard entsprechende Erweiterung: long float
Die Microsoft-Standarderweiterungen (/Ze) behandeln long float als double, was bei Einhaltung der ANSI-Kompatibilität (/Za) nicht der Fall ist. Zur Einhaltung der Kompatibilität sollten Sie double verwenden.
Im folgenden Beispiel wird C4215 generiert:
// C4215.cpp
// compile with: /W1 /LD
long float a; // C4215
// use the line below to resolve the warning
// double a;