https://bugs.freedesktop.org/show_bug.cgi?id=100201

Anonymous Helper <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|llvmpipe Windows scons      |llvmpipe Windows scons
                   |build with Visual Studio    |build with MSVC toolchain
                   |2015 toolchain and LLVM 4.0 |and LLVM 4.0 fails
                   |fails                       |

--- Comment #4 from Anonymous Helper <[email protected]> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to