The information in this article applies to:
SYMPTOMSWhen building a project with Visual C++ 6.0 that compiles without a C4786 warning in Visual C++ 5.0, you may receive C4786 warnings, sometimes followed by:
RESOLUTIONIn Visual C++ 5.0, using the following
after including STL headers, disables the warning:
However, this method does not disable all such warnings in Visual C++ version 6.0. The occurrence of many C4786 warnings may result in the following: Use the pragma directive before you include any STL headers to disable the warnings. STATUSThis behavior is by design. MORE INFORMATIONSteps to Reproduce Behavior
REFERENCESFor additional information, please see the following articles in the Microsoft Knowledge Base: Q122539 BUG: C4786 or C1067 Caused by Long Identifier and /Zi Additional query words: kbDSupport
Keywords : kbCompiler kbSTL kbVC600 |
Last Reviewed: July 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |