ilammy/msvc-dev-cmd

Not working with clang-cl

Opened this issue · 1 comments

neheb commented

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