Microsoft KB Archive/199736

= You receive a "fatal error C1013: compiler limit" error message when including more than 59 levels of nested parentheses in a single expression in Visual C++ 6.0 =

Article ID: 199736

Article Last Modified on 4/28/2005

-

APPLIES TO


 * Microsoft Visual C++ 5.0 Enterprise Edition
 * Microsoft Visual C++ 6.0 Enterprise Edition
 * Microsoft Visual C++ 5.0 Professional Edition
 * Microsoft Visual C++ 6.0 Professional Edition
 * Microsoft Visual C++ 6.0 Standard Edition

-



This article was previously published under Q199736



SYMPTOMS
When including more than 59 levels of nested parentheses in a single expression, the compiler generates the following error:

fatal error C1013: compiler limit : too many open parentheses



CAUSE
This is a limitation of the compiler. The compiler supports up to 59 levels of nested parentheses in a single expression.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in Visual Studio 6.0 Service Pack 3. For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:

194022Visual Studio 6.0 service packs, what, where, why

194295How To Tell That a Visual Studio Service Pack Is Installed

The current limit is 256 levels of nested parentheses in a single expression.

Keywords: kberrmsg kbtshoot kbprb kbcompiler kbvs600sp3fix KB199736

-

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

© Microsoft Corporation. All rights reserved.