Jump to content
  • Advertisement
Sign in to follow this  
Sir Sapo

Odd Rebuild Problem

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

Hey everyone, I ran into a problem today that I haven't ever seen before, and I was wondering if anyone knows what could be causing it. In my project, every class includes this header file that has all my constants defined in it. This worked fine until I added one more constant to the header file, and now my program crashes. Is there some limit to the number of variables that can be defined in a header file, or is something else going on? Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
No there is no limitted number of variables that you can declare to header, at least as far as I know. :) Try making it with extern. For example like :

extern MyClass *object;

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!