FIX: Warning C4056 Generated When /Op Option is Used (120218)
The information in this article applies to:
- Microsoft Visual C++, 32-bit Editions 2.0
- Microsoft Visual C++, 32-bit Editions 4.0
- Microsoft Visual C++, 32-bit Editions 4.1
- Microsoft Visual C++, 32-bit Editions 4.2
- Microsoft Visual C++, 32-bit Editions 5.0
- Microsoft Visual C++, Macintosh Cross-Development Addon 2.0
This article was previously published under Q120218 SYMPTOMS
The following warning is generated when the sample code listed in the More
Information section below is compiled with the option /Op and the warning
level set to 3 or higher:
warning C4056 : overflow in floating-point constant arithmetic
RESOLUTION
Ignore the warning as it is generated incorrectly. Alternatively, you can
suppress the warning by using the /W2 option.
STATUSThis bug was corrected in Microsoft Visual C++, version 6.0.
Modification Type: | Minor | Last Reviewed: | 7/5/2005 |
---|
Keywords: | kbBug kbfix kbVC600fix KB120218 |
---|
|