Board index » cppbuilder » Attn: BORLAND: Loading Cached Pre-Compiled Headers

Attn: BORLAND: Loading Cached Pre-Compiled Headers

Hi:

   When I build with show general messages on, the display shows "Loaded
cached pre-compiled headers" for each file it compiles. Why would it
keep loading the pre-compiled headers. I would think it would load them
the first time and not 60 times for the 60 files it is compiling.

   It this performing correctly? Is it a flawed message? Or, it it doing
something unnecessary?
Thanks.

                                                           Best regards

 

Re:Attn: BORLAND: Loading Cached Pre-Compiled Headers


Quote

>    It this performing correctly? Is it a flawed message? Or, it it doing
> something unnecessary?

AFAICT it is performing correctly (although you maybe misunderstanding the
message).  If you have show general messages turned on then it gives you a
pre-compiled header message for every unit.  The message you are getting
means that it is cached and it is basically using the cached copy (it
probably should say using but it doesn't) so ignore it.

Russell

Re:Attn: BORLAND: Loading Cached Pre-Compiled Headers


Hi:

Quote
> AFAICT it is performing correctly (although you maybe misunderstanding the
> message).  If you have show general messages turned on then it gives you a
> pre-compiled header message for every unit.  The message you are getting
> means that it is cached and it is basically using the cached copy (it
> probably should say using but it doesn't) so ignore it.

  Thanks. But AFAICT means as far as I can tell, right? How can we tell
if it is not in fact reloading these headers each time?

Re:Attn: BORLAND: Loading Cached Pre-Compiled Headers


Hi, Robert!

It is loading the in-memory cached copy of the PCH. This is probably no
significant overhead.

FYI, use of BORLAND in the header will not necessarily get attention
from any Borland employees. While they sometimes read the groups, most
of the help here (including TeamB) is from people like yourself, who do
not work for Borland.

------
Mark Cashman, TeamB C++ Builder
http://www.temporaldoorway.com/programming/index.htm
C++ Builder, JBuilder programming information
Home of The C++ Builder Programmer's Webring - Join us!
------

Re:Attn: BORLAND: Loading Cached Pre-Compiled Headers


If it were reloading them from disk then it would not be loading
the cached headers.

.  Ed

Re:Attn: BORLAND: Loading Cached Pre-Compiled Headers


Hi:

   Thanks all. Sorry about the BORLAND.

                                                         Best regards

Re:Attn: BORLAND: Loading Cached Pre-Compiled Headers


On Mon, 14 Aug 2000 12:43:36 -0400, "Robert F. Tulloch" <tult...@ibm.net>
wrote:

Quote
>  Thanks. But AFAICT means as far as I can tell, right? How can we tell
>if it is not in fact reloading these headers each time?

If you are running on NT/2000 you can use FILEMON from the WINTERNALS
guys...  It is a good "debugging tool: for helping in situations like this.

Jerry Bloomfield (TeamB)
--
http://www.teamb.com                                      JersW...@wwa.com
Please do *NOT* send private e-mail without prior permission (my anti-spam
filters will probably just delete it anyway <g>)

Re:Attn: BORLAND: Loading Cached Pre-Compiled Headers


Hi:

  Thanks. I ordered it. Just for my own satisfaction, you know.

                                                            Best regards

Re:Attn: BORLAND: Loading Cached Pre-Compiled Headers


Hi:

   Thanks for input. It is an interesting tool producing an overwhelming
amount of info. Mind boggling to say the least.

   Now I will get down to trying to figure out what it gave me.

                                                               Best
regards

Re:Attn: BORLAND: Loading Cached Pre-Compiled Headers


No apology needed. I just wanted to make sure you knew.

------
Mark Cashman, TeamB C++ Builder
http://www.temporaldoorway.com/programming/index.htm
C++ Builder, JBuilder programming information
Home of The C++ Builder Programmer's Webring - Join us!
------

Other Threads