Re: [ccache] [PATCH] Support for Clang precompiled headers

2012-07-13 Thread Joel Rosdahl
On 13 July 2012 11:48, Lubos Lunak wrote: > Right. I guess that was an oversight when I moved the "Multiple precompiled > headers used" error to one place. Fixed version attached. Thanks, applied. -- Joel ___ ccache mailing list ccache@lists.samba.org

Re: [ccache] [PATCH] Support for Clang precompiled headers

2012-07-13 Thread Lubos Lunak
On Friday 13 of July 2012, Lubos Lunak wrote: > If somebody would feel like playing with this, note that Clang 3.2 will > have -E -Wp,-rewrite-includes, Make that -E -frewrite-includes, looks like upstream has changed that. > which only processes #include directives and > nothing more (I wrote

Re: [ccache] [PATCH] Support for Clang precompiled headers

2012-07-13 Thread Lubos Lunak
On Thursday 12 of July 2012, Joel Rosdahl wrote: > On 6 July 2012 19:09, Lubos Lunak wrote: > > the attached patches modify ccache to also support Clang PCH in addition > > to GCC PCH. > > Thanks! > > Regarding 0002-hash-clang-s-.pch-file-explicitly.patch: Why is the third > assignment of pch_file

Re: [ccache] [PATCH] Support for Clang precompiled headers

2012-07-12 Thread Joel Rosdahl
On 6 July 2012 19:09, Lubos Lunak wrote: > the attached patches modify ccache to also support Clang PCH in addition to > GCC PCH. Thanks! Regarding 0002-hash-clang-s-.pch-file-explicitly.patch: Why is the third assignment of pch_file done outside the "if (stat(pchpath, &st) == 0)" block? This me