This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
PCH is used only for the first header
- From: "Briltz, Denis" <Denis dot Briltz at intel dot com>
- To: gcc at gcc dot gnu dot org
- Cc: "Briltz, Denis" <Denis dot Briltz at intel dot com>
- Date: Fri, 30 May 2003 18:09:07 +0400
- Subject: PCH is used only for the first header
Hello,
I found out that in case of a source like:
//start of file
#include "a.h"
#include "b.h"
//...
only pch for "a.h" can be used and ignored for "b.h" and subsequent ones.
I.e. if I have "b.h.gch" and do not have "a.h.gch" then "b.h.gch" will not
be used.
Is it supposed behavior? I did not find a word about this in online docs.
Thanks,
Denis.