By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,677 Members | 1,877 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,677 IT Pros & Developers. It's quick & easy.

What does this mean?

P: n/a
I get this error when I try to compile my app. I am not sure what it means,
as there are no loops in my code.

c:\Documents and Settings\Brett\My Documents\Visual Studio
Projects\points2\points.cpp warning C4182: #include nesting level is 545
deep; possible infinite recursion
c:\Documents and Settings\Brett\My Documents\Visual Studio
Projects\points2\points.cpp fatal error C1076: compiler limit : internal
heap limit reached; use /Zm to specify a higher limit

Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

"> c:\Documents and Settings\Brett\My Documents\Visual Studio
Projects\points2\points.cpp warning C4182: #include nesting level is 545
deep; possible infinite recursion


Most probably your #includes are in a loop.

Regards, Jan
Nov 16 '05 #2

P: n/a

--------------------
From: "Jan Bares" <ja*******@antek.cz.no.spam>
References: <e2*************@TK2MSFTNGP09.phx.gbl>
Subject: Re: What does this mean?
Date: Sat, 18 Oct 2003 08:04:27 +0200
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1123
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1123
Message-ID: <eg*************@TK2MSFTNGP09.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.vc
NNTP-Posting-Host: jan.antek.cz 195.250.137.235
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP09.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vc:29532
X-Tomcat-NG: microsoft.public.dotnet.languages.vc
"> c:\Documents and Settings\Brett\My Documents\Visual Studio
Projects\points2\points.cpp warning C4182: #include nesting level is 545
deep; possible infinite recursion


Most probably your #includes are in a loop.

Regards, Jan


Also, if you're using Visual Studio .Net 2002 or more recent, the
/showIncludes compiler switch cause the compiler to list the names of the
headers as they're included. It may help you figure this out.

--
Arjun Bijanki, Microsoft Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.