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

Eric Fiselier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 13 22:15:50 PST 2017

EricWF marked an inline comment as done.
EricWF added inline comments.

Comment at: lib/CMakeLists.txt:113
+  add_library_flags(msvcrt) # C runtime startup files
+  # Required for wide character formatting functions (e.g. `printfw`/`scanfw`)
+  add_library_flags(iso_stdio_wide_specifiers)
smeenai wrote:
> Would be slightly more specific: "required for **standards-compliant** wide-character formatting functions"
Sure, I'll make the change. 

Although if we can't link libc++ we can't really provide any standards conformance :-P


More information about the cfe-commits mailing list