Because there's some nice goodies in the 2.114 nightly, I wanted to try it out. One of the changes is using UCRT as the C runtime. But despite running vcvars64.bat and passing LIBPATH to the linker and libcmt.lib/libucrt.lib via -mscrtlib and/or -L switches, lld-link complains about undefined symbols (printf, sscanf etc) or duplicates. I think I've tried every combination at this point.

The only thing that works for me is -mscrtlib=msvcrt120.lib.

Anyone had success?

Reply via email to