Microsoft KB Archive/113116

= DOC: Undocumented Fatal Error C1053 =

Article ID: 113116

Article Last Modified on 7/5/2005

-

APPLIES TO


 * Microsoft Visual C++ 6.0 Professional Edition
 * Microsoft Visual C++ 6.0 Enterprise Edition
 * Microsoft Visual C++ 5.0 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

Additional query words: 1.00

Keywords: KB113116

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.