On Tue, Jul 19, 2011 at 00:09, Gabriel Charette <gch...@google.com> wrote:
> There is also the case where different C files are compiled with different > flags, but using the same headers (in the current build system say). When > moving to pph we would need to recognize that and generate different pph > files (as opposed to returning a cache hit the second time) (or are we > saying that's the build system's job? in my opinion, if we have to modify > the build system to use pph, it will be harder to integrate pph when we have > a working implementation...) Yes, this is largely the job of the build system. As far as the compiler is concerned, we need to protect compilation from options that would alter the parsing (make it accept an invalid program, change meaning, etc). Flags that would simply generate different code with identical behaviour should be less of a problem. Diego.