<div dir="ltr"><div>I'm currently using MSVC 2012, but I saw that Alp Toker landed a patch to LLD to make it compile with MSVC 2013, so I believe it's doable. Update and try again.</div></div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Fri, Nov 15, 2013 at 11:49 AM, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I think I removed all uses of ErrorOr<void>. Can you try updating?<br>
<div class="HOEnZb"><div class="h5"><br>
On 15 November 2013 12:09, Daniel Albuschat <<a href="mailto:d.albuschat@gmail.com">d.albuschat@gmail.com</a>> wrote:<br>
> Hey there,<br>
><br>
> lld fails to build on Visual Studio 2013 because of ErrorOr<void>.<br>
> For example, ErrorOr<void> is used in InputGraph.h as the return type<br>
> of InputGraph::reset.<br>
> Inside of ErrorOr, there is:<br>
> typedef typename remove_reference<T>::type &reference<br>
> As T is void, and remove_reference <T>::type results in void, the<br>
> typedef expands to:<br>
> typedef void & reference, which looks rather invalid.<br>
><br>
> So the punchline is this:<br>
> In Visual Studio 2012, the statement typedef remove_reference<br>
> <T>::type & reference; compiled. On 2013, it fails.<br>
><br>
> Greetings,<br>
> Daniel Albuschat<br>
> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</div></div></blockquote></div><br></div>