[cfe-users] LLVM/Clang Visual Studio build errors
Hans Wennborg
hans at chromium.org
Mon Sep 9 17:36:12 PDT 2013
On Sun, Sep 8, 2013 at 9:42 AM, Michael Price
<michael.b.price.dev at gmail.com> wrote:
> I've installed the VS extension and tried to build some code with it. I get
> the following errors:
>
> 1>clang cl.exe : error : argument unused during compilation: '/Zi'
> 1>clang cl.exe : error : argument unused during compilation: '/MP'
> 1>clang cl.exe : error : argument unused during compilation: '/Gm-'
> 1>clang cl.exe : error : argument unused during compilation: '/EHa'
> 1>clang cl.exe : error : argument unused during compilation: '/GS'
> 1>clang cl.exe : error : argument unused during compilation: '/Gy'
> 1>clang cl.exe : error : argument unused during compilation: '/fp:precise'
> 1>clang cl.exe : error : argument unused during compilation:
> '/FdRelease\incore.pdb'
> 1>clang cl.exe : error : argument unused during compilation: '/Gd'
>
> Am I correct in guessing that these are just MSVC flags that Clang's cl.exe
> driver doesn't understand yet, so it bails?
Yes. Or rather, it's not so much that it doesn't understand them, but
their functionality is not yet implemented. We're tracking this at
http://llvm.org/bugs/show_bug.cgi?id=17129
- Hans
More information about the cfe-users
mailing list