Questions tagged [precompiled-headers]

A precompiled header is a header file that has statically compiled but still separate from its final executable in order to speed up compilation of dependent files.

In C and C++, precompiled headers allow for quicker compilation times by keeping the definitions from a given header in an compiled state. This allows the compiler to quickly incorporate the header when a file dependent on the header is being compiled.

Rather than having to parse through code, precompiled headers allow the compiler to skip directly to a more intermediate state. For headers that are used frequently this can result in significant compile-time savings.

454 questions
-2
votes
1 answer

With a VS Solution how can I setup a group of source files using matching settings, and specific settings for files that need special treatment?

The question is how can I setup a group of source files using matching settings, and specific settings for files that need special treatment? My question came about because of a build issue which I have now figured out
Peter Nimmo
  • 1,045
  • 2
  • 12
  • 25
-2
votes
2 answers

how to write condition in prefix.pch

From prefix.pch I want to return 4 if iPhone is iPhone 4 or lower and 5 if iPhone is iPhone 5 or more... I know how to know the height #define iPhoneHeight [[UIScreen mainScreen] bounds].size.height Based on this, I get height, but I want to return…
Fahim Parkar
  • 30,974
  • 45
  • 160
  • 276
-2
votes
1 answer

Deleted .pch file by mistake

I have deleted my .pch file by mistake, and now my project cannot be built anymore. What should I do?
Adam Lee
  • 24,710
  • 51
  • 156
  • 236
-3
votes
2 answers

Precompiled header define map unavailable

I am using Visual Studio 2005 and incredibuild. I get this error for one of my projects: Fatal error: Task queue management failed. <- Precompiled header define map unavailable (x:\dev\ib\VCDepEvalTask.pas, line 373) What am I doing wrong?
MattiasK
  • 11
  • 1
  • 2
1 2 3
30
31