• Advertisement
Sign in to follow this  

my Visual Studio 6.0 doesn't always know what to compile

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

I'm running VS6, and am finding that if I make a change to a header file, it isn't recompiling everything that depends on that header, and I'm forced to either do it manually or just rebuild all. I don't know if this was intentional, but shouldn't figuring it out be one of the minimum requirements to call an IDE functional? It should use its Jedi IntelliSense powers or something :-).

Share this post


Link to post
Share on other sites
Advertisement
You must have 'fast but incomplete dependancy generation', or something like that, checked on. If it is off, any files including that header are recompiled in a compile. Look in the project options, I forget exactly where the option was located, sorry.

Share this post


Link to post
Share on other sites
In VS6, it helps if the header files are added to the currently active project. This flags them manually as dependencies for the project and helps with the automatic rebuild process. Just be glad you're not using Xcode - it has absolutely no functioning dependency checking whatsoever.

AFAIK VS6 doesn't have a fast dependency check option.

Share this post


Link to post
Share on other sites
I always add my header files to my project :). There was a "Enable minimal build" or something like that that I unchecked, but I don't think it's fullproof.

Share this post


Link to post
Share on other sites
That behavior seems to be "standardized". In all IDEs I've tried, changing only a header's code won't trigger a recompile of that module. You must at least change something in the .cpp file, because a .h file isn't really something the compiler will see, it only compiles .cpp (.c) files.

Share this post


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

  • Advertisement