[llvm-dev] MSVC 2015 + LLVM 4.0 RC2 problem compiling LLVMPipe of Mesa 17.0

hekoone@inwind.it via llvm-dev llvm-dev at lists.llvm.org
Thu Feb 23 06:47:19 PST 2017


I got this error compiling LLVMPipe using LLVM 4.0 RC2:
No error using 3.9.1 (so the problem is related to 4.0 changes)
I'm using MSVC 2015.

"  Compiling src\compiler\glsl\ast_array_index.cpp ...ast_array_index.cppc:\projects\mesa-master\include\c11\threads_win32.h(151): error C2027: use of undefined type 'xtime'C:\Projects\mesa-master\include\c11/threads.h(48): note: see declaration of 'xtime'c:\projects\mesa-master\include\c11\threads_win32.h(151):
 error C2227: left of '->sec' must point to 
class/struct/union/generic typec:\projects\mesa-master\include\c11\threads_win32.h(151):
 error C2227: left of '->nsec' must point to 
class/struct/union/generic typec:\projects\mesa-master\include\c11\threads_win32.h(446): error C2027: use of undefined type 'xtime'C:\Projects\mesa-master\include\c11/threads.h(48): note: see declaration of 'xtime'c:\projects\mesa-master\include\c11\threads_win32.h(446):
 error C2227: left of '->sec' must point to 
class/struct/union/generic typec:\projects\mesa-master\include\c11\threads_win32.h(637): error C2027: use of undefined type 'xtime'C:\Projects\mesa-master\include\c11/threads.h(48): note: see declaration of 'xtime'c:\projects\mesa-master\include\c11\threads_win32.h(637):
 error C2227: left of '->sec' must point to 
class/struct/union/generic typec:\projects\mesa-master\include\c11\threads_win32.h(638): error C2027: use of undefined type 'xtime'C:\Projects\mesa-master\include\c11/threads.h(48): note: see declaration of 'xtime'c:\projects\mesa-master\include\c11\threads_win32.h(638):
 error C2227: left of '->nsec' must point to 
class/struct/union/generic typescons: *** [build\windows-x86\gallium\auxiliary\gallivm\lp_bld_misc.obj] Error 2scons: building terminated because of errors."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170223/6177f1b3/attachment.html>


More information about the llvm-dev mailing list