[PATCH] D28441: [libc++] [CMake] Link with /nodefaultlibs on Windows

Andrey Khalyavin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 7 03:53:11 PST 2017


halyavin added inline comments.


================
Comment at: lib/CMakeLists.txt:112
+  add_library_flags(vcruntime) # C++ runtime
+  add_library_flags(msvcrt) # C runtime startup files
+  add_library_flags(iso_stdio_wide_specifiers)
----------------
As far as I know, applications shouldn't use msvcrt.dll ([[ https://blogs.msdn.microsoft.com/oldnewthing/20140411-00/?p=1273 | Windows is not a Microsoft Visual C/C++ Run-Time delivery channel ]]) Can we survive on ucrt only?


https://reviews.llvm.org/D28441





More information about the cfe-commits mailing list