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

Tor Arne Vestbø tor.arne.vestbo at nokia.com
Fri Oct 15 11:13:05 PDT 2010


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.

Tor Arne







More information about the cfe-commits mailing list