The information in this article applies to:
If you specify the /Zg compiler option switch when compiling a file with the .CPP or .CXX file extension, the compiler may generate a large number of function prototypes. If the number of prototypes is very large, a null pointer assignment, run-time overflow, or other error can occur. This behavior varies depending on the amount of memory available to the compiler. The /Zg option is not designed for use with .CPP or .CXX files. It is designed to generate function prototypes only for .C files. Sample Code
For an example of the behavior described in this article, please see the
following article in the Microsoft Knowledge Base:
Q122042 BUG: Fatal Error C1001 Using /Zg with Large C++ Header Files Additional query words: 8.00 8.00c 9.00 9.10
Keywords : kbCompiler kbCPPonly kbVC |
Last Reviewed: August 2, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |