Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

RaistlinMajere

whoa?!! fatal error?!!

This topic is 5475 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

Advertisement
Some things to check for:

-Make sure you are being careful with your #include directives
-Are you declaring any very large globals? i.e. large arrays
-Doing anything weird with templates? The only time I have ever received this error is when I was doing some template metaprogramming and the template recursion overloaded the compiler''s heap limit...

"That''s a very nice hat."
-Korben Dallas

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I was bored once and wrote out a for loop as just a bunch of individual statments. For example,

for(int i = 0; i < 5; i++) {
cout << "Hello world.\n";
}

would become

cout << "Hello world.\n";
cout << "Hello world.\n";
cout << "Hello world.\n";
cout << "Hello world.\n";
cout << "Hello world.\n";

only it was much larger than five elements. To fix, go to project|settings. Click on the c/c++ tab. At the botton, on "project options". Somewhere in that arcane list of options there is /ZmX, where X is some number. I have 1000. Just keep specifying a larger number until the program compiles.

Share this post


Link to post
Share on other sites

  • 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!