Martin Storsjö

Results 436 comments of Martin Storsjö

> > Hmm, are you compiling for arm64 > > Yes, I am running the test on a Windows11 Arm64 laptop. Oh, ok, I see. It's possible that there are...

> I am completely clueless about C++/WinRT. Is it a fully header-based wrapper around an underlying "WinRT API" that is exposed as COM interfaces? Yup, pretty much. There's tooling (which...

> Something else we might have to consider is that the COM interfaces defined in the headers might have subtle bugs (ABI incompatibilities) when compiled with MinGW ABI. This may...

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64384 is another GCC bug report about the same issue.

For the ISO volatile loads/stores, if I understand correctly, e.g. `__iso_volatile_load32(__int32 const volatile *ptr)` could be implemented e.g. like this for mingw targets: ``` __int32 SOME_INLINE_ATTRIBUTE __iso_volatile_load32(__int32 const volatile *ptr)...

> I submitted a PR: [microsoft/cppwinrt#1200](https://github.com/microsoft/cppwinrt/pull/1200) Great! (Didn’t check the contents of it at the moment.) > Regarding `WINRT_IMPL_INTERLOCKED_READ_MEMORY_BARRIER`, do you think `_ARM64_BARRIER_ISH` and other values listed in https://learn.microsoft.com/en-us/cpp/intrinsics/arm64-intrinsics?view=msvc-170#BarrierRestrictions should...

> > Yes, we should provide those too. And then we should probably provide the `__dmb` intrinsic too. > > `__dmb` is implemented, as seen at https://clang.llvm.org/docs/LanguageExtensions.html#arm-aarch64-language-extensions It is implemented...

> This is a somewhat obscure footgun. MinGW GCC can be compiled with either a `posix` or `win32` threading model (`x86_64-w64-mingw32-gcc -v 2>&1 | grep 'Thread model'`), which affects the...

Hi, thanks for the suggestion! > via https://clang.llvm.org/docs/UsersManual.html#configuration-files Using configuration file Yup, I've actually experimented with using this a couple years ago already. (I have a PoC branch locally, but...

No, those aren't files with names ending with `.Msi`, they are listed with `"type": "Msi"` in the download manifest. Currently, `.msi` files are only unpacked as part of the Win10SDK...