hekoone@inwind.it via llvm-dev
2017-Feb-23 14:47 UTC
[llvm-dev] MSVC 2015 + LLVM 4.0 RC2 problem compiling LLVMPipe of Mesa 17.0
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>
Hans Wennborg via llvm-dev
2017-Feb-23 23:58 UTC
[llvm-dev] MSVC 2015 + LLVM 4.0 RC2 problem compiling LLVMPipe of Mesa 17.0
Those errors are from MSVC though, so it's unclear what LLVM has got to do with it. On Thu, Feb 23, 2017 at 6:47 AM, hekoone at inwind.it via llvm-dev <llvm-dev at lists.llvm.org> wrote:> 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.cpp > c:\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 type > c:\projects\mesa-master\include\c11\threads_win32.h(151): error C2227: left > of '->nsec' must point to class/struct/union/generic type > c:\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 type > c:\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 type > c:\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 type > scons: *** [build\windows-x86\gallium\auxiliary\gallivm\lp_bld_misc.obj] > Error 2 > scons: building terminated because of errors." > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >