This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC-HEAD [3.4] PCH and multiple header support?
Joe Buck wrote:-
> Unfortunately, the meaning of a header depends on what has been included
> before, or defined before. In that sense, the only reusable unit that works
> reliably is the very first header.
I'm not sure what the current PCH implementation does, but if what you
say above is what is implemented, it is certainly possible to be a lot
more intelligent about it.
Existence proofs are the EDG, Borland and MS compilers.
I outlined the way I thought we should go in a mail in Dec 2000; I'm not
sure how different what we now do is to that.
Neil.