This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: PCH is used only for the first header
- From: "Briltz, Denis" <Denis dot Briltz at intel dot com>
- To: "'Geoff Keating'" <geoffk at geoffk dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 3 Jun 2003 11:04:42 +0400
- Subject: RE: PCH is used only for the first header
>>
>> My point was that gcc uses pch only for the _first_ included header and
this
>> is not documented.
>This is a simplification of the actual rules. The documentation
>completely describes what actually happens. For instance, if 'a.h' is
>completely empty, and there is no PCH for it, a PCH for 'b.h' can be used.
>--
>- Geoffrey Keating <geoffk@geoffk.org>
Right, "a.h" contains macros affecting "b.h" and this is the reason why
"b.h.gch" was not used.
Thanks,
Denis.