msvc-dev-cmd icon indicating copy to clipboard operation
msvc-dev-cmd copied to clipboard

Not working with clang-cl

Open neheb opened this issue 1 year ago • 1 comments

It seems when setting the CI to x86 with arch, something else needs to be set:

Sanity check compiler command line: clang-cl sanitycheckcpp.cc /Fesanitycheckcpp.exe /MDd /nologo /showIncludes /utf-8 /link
Sanity check compile stdout:
LINK : error LNK2001: unresolved external symbol mainCRTStartup
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\lib\x86\msvcrtd.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
sanitycheckcpp.exe : fatal error LNK1120: 1 unresolved externals

neheb avatar Apr 04 '23 03:04 neheb