DOC: Undocumented Fatal Error C1053

Article translations Article translations
Article ID: 113116 - View products that this article applies to.
This article was previously published under Q113116
Expand all | Collapse all

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

Properties

Article ID: 113116 - Last Review: July 5, 2005 - Revision: 1.1
APPLIES TO
  • Microsoft Visual C++ 6.0 Professional Edition
  • Microsoft Visual C++ 6.0 Enterprise Edition
  • Microsoft Visual C++ 5.0 Learning Edition
Keywords: 
KB113116

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com