public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: pch doesn't seem to be used
@ 2004-09-07 18:47 Pat
  0 siblings, 0 replies; 3+ messages in thread
From: Pat @ 2004-09-07 18:47 UTC (permalink / raw)
  To: gcc-help

Eljay,

> Have you tried creating the precompiled header file with the same (correct) flags?

I thought so but it was not the case.

Thanks

Pat


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: pch doesn't seem to be used
  2004-09-05 22:33 Pat
@ 2004-09-07 12:31 ` Eljay Love-Jensen
  0 siblings, 0 replies; 3+ messages in thread
From: Eljay Love-Jensen @ 2004-09-07 12:31 UTC (permalink / raw)
  To: Pat, gcc-help

Hi Pat,

 >Any hint ?

Have you tried creating the precompiled header file with the same (correct) 
flags?

Or in the situation where you have two ways to compiler (say, instrumented 
versus non-instrumented debug versions), you have two separate precompiled 
header files?

HTH,
--Eljay

^ permalink raw reply	[flat|nested] 3+ messages in thread

* pch doesn't seem to be used
@ 2004-09-05 22:33 Pat
  2004-09-07 12:31 ` Eljay Love-Jensen
  0 siblings, 1 reply; 3+ messages in thread
From: Pat @ 2004-09-05 22:33 UTC (permalink / raw)
  To: gcc-help

Hi,

I have a Precomp.h header, in which the most used headers are #included, 
and, in the same directory, the compiled Precomp.h.gch

At the start of the compilation, the pch is read and verified correctly 
because when the options used to compile it are changed, the correct 
warning appears.( "warning: ./Precomp.h.gch: created with different flags" )
Immediately after that, the gch file is closed and the compiler starts 
to read the original headers files.

Any hint ?

Pat

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-09-07 18:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-07 18:47 pch doesn't seem to be used Pat
  -- strict thread matches above, loose matches on Subject: below --
2004-09-05 22:33 Pat
2004-09-07 12:31 ` Eljay Love-Jensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).