https://llvm.org/bugs/show_bug.cgi?id=28250
Bug ID: 28250 Summary: clang-cl does not consider __m128 to be a struct type Product: clang Version: trunk Hardware: PC OS: Windows NT Status: NEW Severity: normal Priority: P Component: C++ Assignee: unassignedclangb...@nondot.org Reporter: resis...@mac.com CC: dgre...@apple.com, llvm-bugs@lists.llvm.org Classification: Unclassified MSVC treats __m128 as a struct type, and depends on that in DirectXMath.h. clang-cl doesn't, which breaks DirectX apps. For example: 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\um/DirectXMath.h(372,29): error : overloaded 'operator/=' must have at least one parameter of class or enumeration type 1> XMVECTOR& XM_CALLCONV operator/= (XMVECTOR& V1, FXMVECTOR V2); 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\um/DirectXMathVector.inl(412,13): error : member reference base type 'FXMVECTOR' (aka 'const __m128') is not a structure or union 1> return V.m128_f32[i]; -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs