<div dir="ltr">Hi,<br><br>I think the best bet is going with visual studio (which will give you the `cl` command line invocation of the compiler if you want to).<br><br>- Stefanos</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Στις Παρ, 31 Ιουλ 2020 στις 4:37 μ.μ., ο/η Paul C. Anagnostopoulos via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> έγραψε:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Now that I can build LLVM on Windows, I tried doing it. <br>
<br>
--------------------------<br>
... some good stuff ...<br>
C:/LLVM/llvm-project/llvm/lib/Support/Chrono.cpp:35:17: error: '::localtime_s' has not been declared; did you mean 'localtime'?<br>
35 | int Error = ::localtime_s(&Storage, &OurTime);<br>
| ^~~~~~~~~~~<br>
| localtime<br>
<br>
(The error line is preceded by #if defined(_WIN32).)<br>
----------------------------<br>
<br>
A little research shows that localtime_s is a Microsoft extension and is not included with MinGW. From this I cleverly infer that I should have installed a different compiler collection. Can anyone give me a hint?<br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>