Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Warning (level 1) C4216
Collapse the table of content
Expand the table of content

Compiler Warning (level 1) C4216

Error Message

nonstandard extension used : float long

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

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

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

int main() {
}

Community Additions

ADD
Show:
© 2015 Microsoft