[llvm-bugs] [Bug 43642] New: Incompatibility with mingw-w64 intrinsic headers
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Oct 10 15:26:48 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=43642
Bug ID: 43642
Summary: Incompatibility with mingw-w64 intrinsic headers
Product: clang
Version: 9.0
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Headers
Assignee: unassignedclangbugs at nondot.org
Reporter: re.mcclue at gmail.com
CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
richard-llvm at metafoo.co.uk
Created attachment 22652
--> https://bugs.llvm.org/attachment.cgi?id=22652&action=edit
windows cmd error output screenshot
I have downloaded and installed clang 9.0 on windows 10 from
http://releases.llvm.org/download.html and mingw 8.1 from
https://sourceforge.net/projects/mingw-w64/
I tried to compile sdl 2.0.10 with clang + mingw. I obtained an error relating
to intrin.h/xsaveintrin.h. Specifically:
function cannot return function type 'int (unsigned int)'
unsigned __int64 _xgetbv(unsigned int);
note: expanded from macro 'xgetbv'
#define _xgetbv(A) __builtin_ia32_xgetbv((long long)(A))
I was able to compile successfully with llvm 8.0, so I assume it is a problem
on the llvm end rather than sdl2.
Please view attachment for a detailed screenshot of windows cmd error output.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191010/fe35acac/attachment.html>
More information about the llvm-bugs
mailing list