Jump to content
  • Advertisement
Sign in to follow this  
SirLuthor

Note to new Dev-C++ users:

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

Well, you see, I was working in Dev Cpp today, debugging a header file, and well, I discovered the following: If you don't modify a .cpp file (or .c, or whatever), just headers (I don't know about resource files though..), it will not actually recompile the .exe with the new changes. It will instead go through the motions of compiling, but leave you with the old, un-modified header. So even if you don't need to, just go to your .cpp file, and, say, delete a number and type it in again. That seems to remedy it, and it will then compile everything properly. Just a small FYI, in the hope that it may help some people like me to find solutions without the intermediate step of bashing your head against a wall when nothing works :) EDIT: Oh, BTW, I'm using Dev C++ 4.9.9.0

Share this post


Link to post
Share on other sites
Advertisement
It works ok for me, and I can only think of 2 things it might be:

* make sure the .h files are in the project

* Uncheck the option under Tools => Compiler Options => Compiler => "Use fast but imperfect dependancy generation".

Also, looking at the Compile Log will tell you exactly what was done.

Share this post


Link to post
Share on other sites
Quote:
Original post by lonesock
* Uncheck the option under Tools => Compiler Options => Compiler => "Use fast but imperfect dependancy generation".


That's the obvious answer, and works much better than the original work around [wink]

Toolmaker

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!