<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">From a quick glance at the build log, you should be able to avoid the ambiguity by removing the alias template
<div><br>
</div>
<div>`<span class="pl-k" style="box-sizing: border-box; color: rgb(215, 58, 73); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%;">template
</span><span style="caret-color: rgb(36, 41, 46); color: rgb(36, 41, 46); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%; background-color: rgb(255, 255, 255);"><</span><span class="pl-k" style="box-sizing: border-box; color: rgb(215, 58, 73); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%;">typename</span><span style="caret-color: rgb(36, 41, 46); color: rgb(36, 41, 46); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%; background-color: rgb(255, 255, 255);">
T> </span><span class="pl-k" style="box-sizing: border-box; color: rgb(215, 58, 73); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%;">using</span><span style="caret-color: rgb(36, 41, 46); color: rgb(36, 41, 46); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%; background-color: rgb(255, 255, 255);">
Optional = llvm::Optional<T>;`</span></div>
<div>
<div dir="ltr"><br>
</div>
<div dir="ltr">from the files ByteCodeExprGen.cpp and ByteCodeStmtGen.cpp in clang/lib/AST/Interp. </div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Note that this is just my best guess, I didn‘t try it myself. I‘m also not sure why MSVC sees an ambiguity here. </div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><br>
<blockquote type="cite">Am 31.10.2019 um 14:44 schrieb Osman Zakir via llvm-dev <llvm-dev@lists.llvm.org>:<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<div style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif; font-size: 12pt;">
I hope I'm not being too presumptuous or anything when I say this: could you guys please review the obj.ClangAST.vcxproj project and try to fix the ambiguity error? </div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif; font-size: 12pt;">
Reid asked me why I'm using C++17. I just want to use the latest released standard. Most if it still compiles anyway. So I'll stick with it. </div>
<div>
<div class="x_gmail_quote">
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
</blockquote>
</div>
</div>
<span>_______________________________________________</span><br>
<span>LLVM Developers mailing list</span><br>
<span>llvm-dev@lists.llvm.org</span><br>
<span>https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</span><br>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>