9 ms·
> Does anyone have a workaround? I've been using clang-cl ( http://llvm.org/builds/ http://llvm.org/builds/ ) for my personal stuff. Pros: * creates binaries
by maxlybbert 12y ago
> Does anyone have a workaround?
I've been using clang-cl ( http://llvm.org/builds/ http://llvm.org/builds/ ) for my personal stuff.
Pros:
* creates binaries that link to the platform CRT (no need for any redistributable) as long as you keep within C99 or C11
Cons:
* not officially supported yet
* doesn't yet support enough C++ to be useful for anybody wanting that
* while the C99/C11 language is available, you still need to rely on the Windows header files and libraries, so you have variable length arrays, declare anywhere, compound initializers, _Generic, but not snprintf, fenv.h, etc.
- jevinskie 12y agoclang-cl and MS C++ ABI compatibility for Clang/LLVM is going to be very exciting. Some said it was an impossible project but it is quickly progressing. The start of SEH is already committed. I believe the mangling is complete. Linkage types are still being tweaked. Windows Phone is already partially supported. The inalloca attribute has been in ToT for a long time. I think it will be in a usable state within a year. Sometimes you just have to use a binary library that you cannot recompile. If it is C++, you are limited with your compiler choices due to ABIs. I hope the various sanitizers are ported as well!