Jump to content
  • Advertisement
Sign in to follow this  
evanofsky

exit craziness

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

So I change a parameter to one of my functions, recompile, and it spits out a bunch of errors. Every single place where I referenced the "exit" function, it gives this error:
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\cstdlib(22):
error C2039: 'exit' : is not a member of 'operator``global namespace'''
I've referenced that function since the beginning of my project almost a year ago and never had this trouble. What's going on?

Share this post


Link to post
Share on other sites
Advertisement
I'd venture at a guess that something you changed is causing a syntax error -- something like an extra or missing or misplaced special character (curly bracket, semicolon, colon, parenthesis).

Share this post


Link to post
Share on other sites
Check if you accidentally included any headers in a namespace. Like

namespace MyNamespace{
#include <iostream>
/...
}


That can cause problems like that.

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!