Fix compile errors when compiling for msvc

This commit is contained in:
Krzosa Karol
2022-05-26 16:55:07 +02:00
parent c88b38cc44
commit 3cd79040bc
6 changed files with 48 additions and 32 deletions

View File

@@ -1,5 +1,7 @@
@echo off
pushd %~dp0
clang main.cpp -O0 -I.. -Wall -Wno-unused-function -fno-exceptions -fdiagnostics-absolute-paths -g -o main.exe -Wl,user32.lib
rem @todo fix msvc
cl main.cpp -I.. user32.lib
rem clang main.cpp -O0 -I.. -Wall -Wno-unused-function -fno-exceptions -fdiagnostics-absolute-paths -g -o main.exe -Wl,user32.lib
popd