<div dir="ltr">BTW, it should be fixed in r281550.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 14, 2016 at 9:49 PM, Kim Gräsman via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Daniel,<br>
<br>
Looks like you could work around it by building to a bin/<br>
subdirectory, i.e. C:\MyTool\Release\bin instead of just<br>
C:\MyTool\Release. That way the (presumably-buggy) -resource-dir will<br>
at least point to the right path.<br>
<br>
- Kim<br>
<div><div class="h5"><br>
On Wed, Sep 14, 2016 at 1:12 AM, Daniel Dilts via cfe-dev<br>
<<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br>
> When building my tool against Clang 3.8.0 and running it in VS2013 it worked<br>
> perfectly (once I started building the clang-headers project).<br>
><br>
> Along comes VS2015 and I have to upgrade to Clang 3.9.0 since the VS2015<br>
> headers now use an intrinsic that wasn't supported prior to 3.9.0.  This<br>
> unexpectedly broke my tool and caused the tool to generate the following new<br>
> warning:<br>
><br>
> warning : unknown argument ignored in clang-cl:<br>
> '-resource-dir=C:\MyTool\<wbr>Release\..\lib\clang\3.9.0'<br>
><br>
> This warning seems odd to me, since the -resource-dir argument is added by<br>
> Clang.  Also, it references the parent directory of the directory that the<br>
> clang-headers project copies necessary include files to.<br>
><br>
> As I have been experimenting with getting my tool to work again it has<br>
> become evident that somewhere between 3.8.0 and 3.9.0 the directory where<br>
> the clang-headers project copies header file to has been removed from the<br>
> set of include directories for a tool (at least on Windows...).  By adding<br>
> -IC:\MyTool\Release\..\lib\<wbr>clang\3.9.0\include to my command line I have<br>
> been able to get my tool to work again.<br>
><br>
> Does anyone know why Clang was changed so that this directory is no longer<br>
> included by default?  Also, is there some other fix that I am missing?<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> cfe-dev mailing list<br>
> <a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-dev</a><br>
><br>
______________________________<wbr>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div>