This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]