1

I want to compile my vs project with clang-cl.exe in visual studio and use standard c++ library like libc++ or libstdc++. it seems libc++ not supprot windows platform, so is there a right way to compile with clang-cl.exe and link standard c++ library?

Or i have to use msvc and windows c++ library?

MasterGhui
  • 11
  • 1
  • Clang-cl simulates cl, therefore you should also use the MSVC STL + UCRT. The MSVC STL has the same license as llvm's libc++. – Fabian Keßler Aug 13 '23 at 16:32

0 Answers0