Jump to content
  • Advertisement
Sign in to follow this  
anorenn

help!!

This topic is 5168 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

c:\program files\microsoft visual studio\vc98\include\istream(508) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit ^ That showed up....so can you help me?

Share this post


Link to post
Share on other sites
Advertisement
First, look up the error message on MSDN: C1076. Next, follow the directions specified in the "possible solutions" section.

Share this post


Link to post
Share on other sites
I would imagine you are recursivly including two header file from each other, ie:


//filea.h
#include <iostream>
#include "fileb.h"

//fileb.h
#include "filea.h"



You can solve this by using include guards so each file can only get included once per source file, like this:

//filea.h
#ifndef _FILEA_H_
#define _FILEA_H_
#include <iostream>
#include "fileb.h"
#endif

//fileb.h
#ifndef _FILEB_H_
#define _FILEB_H_
#include "filea.h"
#endif



Alan

Share this post


Link to post
Share on other sites
Out of the solutions on one i am going to try, and that is /zm but i don't know how to get to the property page, and the microsoft thing doesn't exactly help.

Share this post


Link to post
Share on other sites
Quote:
Original post by anorenn
Out of the solutions on one i am going to try, and that is /zm but i don't know how to get to the property page, and the microsoft thing doesn't exactly help.


Goto project->settings and you should find it there. Though usually in my experience it's a problem much like Alan Kemp described.

~Wave

Share this post


Link to post
Share on other sites
yea..i tried the, define and endif stuff...didn't work
I used the includes because of this problem...it happened before without any includes except time.h and iostream. I think it's my computer...my computer really sucks.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!