lld-link: error: undefined symbol: WinMain
referenced by msvcrt120.lib(msvcrt_stub2.obj):($LN5)
Error: linker exited with status 1
If I delete -L/SUBSYSTEM:windows compile fine. How can I hide console using -m64?
Marcone via Digitalmars-d-learn Tue, 10 Aug 2021 11:35:46 -0700
lld-link: error: undefined symbol: WinMain
referenced by msvcrt120.lib(msvcrt_stub2.obj):($LN5)
Error: linker exited with status 1
If I delete -L/SUBSYSTEM:windows compile fine. How can I hide console using -m64?