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 2) C4756
Collapse the table of content
Expand the table of content

Compiler Warning (level 2) C4756

overflow in constant arithmetic

The compiler generated an exception while doing constant arithmetic during compilation.

The following sample generates C4756:

// C4756.cpp
// compile with: /W2 /Od
int main()
   float f = 1e100+1e100;   // C4756
© 2015 Microsoft