windows platform? Do they both produce MSVC compatible libraries?
clang-cl has msvc configs on top of clang compiler
quality of produced code is different but functionality is the same
So the product of either can be used with msvc compiler no worries right?
no. msvc and clang are two different compilers. microsoft just created a program on top of clang so msbuild work with the msvc style syntax of options and etc
Ooh, okay, nice to know, so clang and clang-cl are actually just using the same clang compiler but clang-cl has an interface that msbuild is familiar with, while clang is more of gcc looking interface... I have used msvc compiled c++ libraries with clang-cl, so I should also be able to use msvc c++ libraries with clang as per that reasoning if I am not wrong?
msvc compiler is named cl, clang-cl takes your cl config converts to gcc style config passes to clang compiler
Обсуждают сегодня