[cfe-commits] [PATCH v2] Add Clang driver-support for directory-style precompiled headers

Sebastian Redl sebastian.redl at getdesigned.at
Fri Oct 15 12:02:37 PDT 2010


On 15.10.2010, at 20:13, Tor Arne Vestbø wrote:

> On 15.10.10 19.44, Sebastian Redl wrote:
>> Still doesn't feel right. Doesn't this now ignore the -include
>> argument completely if it can find a PCH dir but not the right
>> language?
> 
> Correct.
> 
> I based that behavior on what the warning says, that the argument is 
> ignored. As I noted in the original e-mail I was wondering if the 
> behavior of "ignore the PCH if not first on command line and emit 
> warning" to fall back to passing an -include argument was intentional.
> 
> I now realize it was, and why :)
> 
>> It should fall back to passing an -include argument, I believe.
> 
> Gotcha, patch coming.

Daniel, can we have a definite answer, please?

Sebastian



More information about the cfe-commits mailing list