Bagikan melalui


Compiler Warning (level 1) C4216

ekstensi nonstandar yang digunakan : float long

Ekstensi Microsoft default (/Ze) memperlakukan float selamadouble. Kompatibilitas ANSI (/Za) tidak. Gunakan double untuk mempertahankan kompatibilitas. Sampel berikut menghasilkan C4216:

// C4216.cpp
// compile with: /W1
float long a;   // C4216

// use the line below to resolve the warning
// double a;

int main() {
}