The information in this article applies to:
SYMPTOMSDisabling a warning with #pragma warning will not succeed if the pragma is placed within the function where the warning occurs and the warning has a value of 4700 or greater. CAUSEWarnings greater than 4699 are generated by the second and third passes of the compiler. RESOLUTIONTo disable warnings with a value of 4700 or greater, place the #pragma warning outside of any function. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONSample CodeThe following sample code demonstrates the problem:
Additional query words: 8.00 8.00c 9.00 10.00 10.10 10.20
Keywords : kbcode kbCompiler kbVC500bug |
Last Reviewed: February 2, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |