Board index » cppbuilder » Follow-up to "Help! Pre-Compiled Header troubles"
Follow-up to "Help! Pre-Compiled Header troubles"
2004-11-06 08:49:34 AM
I finished adding the pre-compiled header to all of our cpp files and it has
helped. Now instead of compiling 200000 lines or so of code per unit it will
compile on average 500-2000 lines of code per unit. However there is still a
problem. For some reason there is a strange pause between the compiling of
one unit and the next. The time between the line count going from 0 to the
total number is only a second or two, but there than can be a 3-5 second
delay between that and starting on the next cpp unit.
In contrast, in one of our other projects (in this case a package of VCL
controls we use) there is no such delay. Even though we don't have
pre-compiled headers in that project, there is virtually no delay from the
time the last line of one unit is reached to the start of the next unit.
Any ideas on what could be causing this delay? It is a large project
(executable of about 30 MB when built, with a couple hundred cpp files), and
it has a lot of legacy code in it (including goto statements, yes goto's -