DOCERR: Undocumented Fatal Error C1053

Last reviewed: October 20, 1995
Article ID: Q113116
The information in this article applies to:
  • The Microsoft C/C++ Compiler (CL.EXE) included with: Microsoft Visual C++ 32-bit Edition, version 1.0

SYMPTOMS

The ERRORS.HLP file does not document fatal error C1053, "function too large for global optimizations." This error can occur on very large blocks of code.

CAUSE

The compiler has a limited amount of space available for storing temporary variables that it uses to track code within a function or code block.

RESOLUTION

The compiler could not handle the size of the specified function. You can compile without the /Og switch (this includes the /Ox and /O2 switches) or split up your code to reduce the size of the function. Note that a function which calls inline routines can grow very large.

This was corrected in Microsoft Visual C++, version 2.0


Additional reference words: 1.00
KBCategory: kbtool kbdocerr
KBSubcategory: CLIss


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 20, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.