Article ID: 199736 - View products that this article applies to.
This article was previously published under Q199736
This article has been archived. It is offered "as is" and will no longer be updated.
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
This is a limitation of the compiler. The compiler supports up to 59 levels of nested parentheses in a single expression.
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:
194022The current limit is 256 levels of nested parentheses in a single expression.
(https://support.microsoft.com/kb/194022/EN-US/ )Visual Studio 6.0 service packs, what, where, why
(https://support.microsoft.com/kb/194295/EN-US/ )How To Tell That a Visual Studio Service Pack Is Installed
Article ID: 199736 - Last Review: February 21, 2014 - Revision: 5.0