diff options
Diffstat (limited to 'build.bat')
-rw-r--r-- | build.bat | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -25,6 +25,7 @@ :: /LDd - ... setlocal +setlocal enabledelayedexpansion set "cc=cl.exe" set "ar=lib.exe" @@ -35,7 +36,7 @@ set "obj_dir=obj\" set "inc_dir=include\" set "lib_dir=lib\" -set "warn=/wd4244" +set "warn=/wd4244 /wd5105" set "cdefines=/D _CRT_SECURE_NO_WARNINGS /D _UNICODE /D UNICODE" set "cflags=/nologo /std:c11 /utf-8 /W4 /WX- /diagnostics:column /TC /Zi /fp:fast" @@ -88,7 +89,7 @@ echo: for %%f in ("%bin_dir%*.exe") do ( %%f - if %errorlevel% == 0 ( + if !errorlevel! == 0 ( echo [DONE] %%f ) else ( echo [FAIL] %%f |