Sign in to follow this  
peter_b

precompiled headers and vs2005?

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this