Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


what are pre-compiled header files?

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

Original post by dynamicman
What are they used for?

They speed up compilation by precompiling any functions defined in headers, and by storing the types and variables declared in a header. When a header that has been precompiled is needed, the declarations it contains are loaded rather than the header being reparsed.

what are the advantages?

They speed up compilation.


Sometimes it can ''miss'' changes in headers. This is a bug in the compiler rather than a problem with the general concept of precompilation.

Why would one choose to use it?

They speed up compilation. Since precompiled headers are created automatically, I can''t see any reason to customize the precompilation options.

All your bases belong to us

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!