The information in this article applies to: 
 SYMPTOMSIf you use the /Za switch (Disable Language Extensions) when compiling the Standard C++ Library headers, it causes multiple compiler errors. For example: 
Causes the following compiler errors:
Examples of other header files known to cause multiple compiler errors like C2838, C2146, and C2501 are: <utility>, <iterator>, <xstring>, <functional>, and <limits>. RESOLUTIONDo not use the compiler option /Za (Disable Language Extensions) when compiling the Standard C++ Library headers. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. Additional query words: 
Keywords          : kbtool kbCompiler kbCPPonly kbLangCPP kbVC kbVC500bug kbVC600bug STLIss   | 
| 
 Last Reviewed: May 18, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use.  |