microsoft / DirectXMath

DirectXMath is an all inline SIMD C++ linear algebra library for use in games and graphics apps
https://walbourn.github.io/introducing-directxmath/
MIT License
1.55k stars 241 forks source link

Fixes clang-cl compilation issue #157

Closed matbech closed 1 year ago

matbech commented 1 year ago

Fixes issue https://github.com/microsoft/DirectXMath/issues/156

walbourn commented 1 year ago

What scenario is this that's failing?

matbech commented 1 year ago

What scenario is this that's failing?

When winrt is used/included:

include <winrt\base.h>

winrt\base.h includes directxmath.h from the SDK. Reference: https://github.com/microsoft/cppwinrt/blob/master/strings/base_includes.h#L30

with the clang-cl as the compiler front end.

walbourn commented 1 year ago

Which Windows SDK?

matbech commented 1 year ago

Which Windows SDK?

The latest insider SDK: 10.0.25276.0