• Advertisement
Sign in to follow this  

precompiled headers and vs2005?

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

Anyone know where the "Automatic generation" option for precompiled headers went? All it seem to support is either "Use" or "create"? If i understand that correctly i will have to change that option from use everytime i change something in stdafx.h and do a build with the create setting? And then change it back to use. Correct?

Share this post


Link to post
Share on other sites
Advertisement
Automatic generation of PCHs was broken - see the Breaking Changes in VC2005 document for details. (It was also actually slower than manual PCH building - c.f. this study which I replicated in VS2003 with similar results.)

Yes, you need to tweak the option when changing your PCH (as far as I am aware). However, if you actually do this often at all, you probably aren't using PCHs properly - the whole point is to precompile stuff that doesn't change and therefore has no need to be recompiled regularly.

Share this post


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

  • Advertisement