Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 709 Bytes

compiler-warning-level-1-c4215.md

File metadata and controls

24 lines (19 loc) · 709 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning (level 1) C4215
Compiler Warning (level 1) C4215
11/04/2016
C4215
C4215
f2aab64d-1bab-4f75-95ee-89e1263047b1

Compiler Warning (level 1) C4215

nonstandard extension used : long float

The default Microsoft extensions (/Ze) treat long float as double. ANSI compatibility (/Za) does not. Use double to maintain compatibility.

The following sample generates C4215:

// C4215.cpp
// compile with: /W1 /LD
long float a;   // C4215

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