[llvm-dev] Recent LLVM Build Attempt -- obj.ClangAST.vcxproj Failed to Build

Reid Kleckner via llvm-dev llvm-dev at lists.llvm.org
Wed Oct 30 10:52:54 PDT 2019

I see two interesting things in your configuration:
- You are passing  -DCMAKE_CXX_STANDARD=17. Is there a reason for that?
Using fewer options is generally more likely to result in a successful
- You are using MSVC build 14.23.28105. This is newer than what I am using
and our bots are using. I will have to try upgrading myself.

This is the error in question isolated:
C:\llvm-project\clang\lib\AST\Interp\ByteCodeStmtGen.cpp(239,1): error
C2872: 'Optional': ambiguous symbol
C:\llvm-project\clang\lib\AST\Interp\ByteCodeStmtGen.cpp(22,57): message :
could be 'Optional = llvm::Optional<T>'

This ByteCodeStmtGen.cpp file is relatively new, so that could be

On Wed, Oct 30, 2019 at 10:17 AM Osman Zakir via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> I configured with this command:
> "
> cmake ../llvm -G"Visual Studio 16 2019" -A Win32 -Thost=x64
> -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;lld;libcxx;libcxxabi"
> "
> and when building the target ALL_BUILD.vcxproj I redirected the output to
> a file.  I'm attaching that file to this message.  Name of the file is
> build.log.  I'm attaching CMakeCache.txt and CMakeOutput.log for reference.
> Any help is appreciated.  Thanks in advance.
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191030/0e2c75f6/attachment.html>

More information about the llvm-dev mailing list