From bf49b8e9336ffb5c2ee8f24620252ad873f20faa Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sun, 21 Jun 2020 22:43:06 +0200 Subject: [PATCH] Enable warnings for MSVS --- tests/Make-check-cl.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Make-check-cl.bat b/tests/Make-check-cl.bat index 72593be6..78b3472f 100644 --- a/tests/Make-check-cl.bat +++ b/tests/Make-check-cl.bat @@ -35,7 +35,7 @@ DEL *.log *.dat REM List the expected failure (compiler internal error) set "expectedFailure1=test-msnapshot.c" -set "expectedFailure2=test-mtuple.c" +set "expectedFailure2=test-none.c" echo "Compiler full version:" cl /Bv @@ -52,7 +52,7 @@ for %%f in (test-*.c) do ( REM /Zc:preprocessor is mandatory to have a compliant preprocessor REM /Zc:__cplusplus is needed to report the real value of __cplusplus, so that M*LIB uses the C++ atomic, and not its emulation. echo Compiling %%f - cl.exe /I.. /O2 /std:c++14 /Zc:__cplusplus /Zc:preprocessor test.cpp > %%f.log 2>&1 + cl.exe /I.. /O2 /W3 /std:c++14 /Zc:__cplusplus /Zc:preprocessor test.cpp > %%f.log 2>&1 if ERRORLEVEL 1 ( echo *** BUILD ERROR for %%f *** >> %%f.log type %%f.log