<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:anonymous@dodgeit.com" title="Anonymous Helper <anonymous@dodgeit.com>"> <span class="fn">Anonymous Helper</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - llvmpipe Windows scons build with MSVC toolchain and LLVM 4.0 fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100201">bug 100201</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Summary</td>
<td>llvmpipe Windows scons build with Visual Studio 2015 toolchain and LLVM 4.0 fails
</td>
<td>llvmpipe Windows scons build with MSVC toolchain and LLVM 4.0 fails
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - llvmpipe Windows scons build with MSVC toolchain and LLVM 4.0 fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100201#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - llvmpipe Windows scons build with MSVC toolchain and LLVM 4.0 fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100201">bug 100201</a>
from <span class="vcard"><a class="email" href="mailto:anonymous@dodgeit.com" title="Anonymous Helper <anonymous@dodgeit.com>"> <span class="fn">Anonymous Helper</span></a>
</span></b>
<pre>These changes in mesa code in include/c11/threads.h solve both undefined and
redefinition errors with xtime with MSVC 2015 and 2017, but compilation still
fails in the end during linking due to unresolved symbols.
#include <time.h>
+#if _MSC_VER >= 1900
+#include <thr/xtimec.h>
+#endif
+#if _MSC_VER < 1900
struct xtime {
time_t sec;
long nsec;
};
typedef struct xtime xtime;
+#endif
Jose Fonseca, warned me in a previous comment that I was using MSVC 2017
toolset, but it turns out that if I install the optional MSVC 2015 Update 3
toolset for MSVC 2017, Scons can use either toolset just fine.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>