BUG: Warning C4056 Generated When /Op Option is UsedLast reviewed: July 24, 1997Article ID: Q120218 |
The information in this article applies to:
SYMPTOMSThe 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 RESOLUTIONIgnore the warning as it is generated incorrectly. Alternatively, you can suppress the warning by using the /W2 option.
STATUSMicrosoft has confirmed this to be a bug in the products listed above. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Sample Code to Reproduce Problem
/* Compile options needed: /Op /W3 */ void main() { double i; i = -1.0; } |
Additional query words: 9.00 10.00 10.10 10.20
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |