DOC: Undocumented Fatal Error C1053 (113116)



The information in this article applies to:

  • Microsoft Visual C++, 32-bit Professional Edition
  • Microsoft Visual C++, 32-bit Enterprise Edition
  • Microsoft Visual C++, 32-bit Learning Edition

This article was previously published under Q113116

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

Modification Type:MinorLast Reviewed:7/5/2005
Keywords:KB113116