From 39f8b6828b09fdc520950c3337118d3276cee430 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Thu, 26 Mar 2020 22:03:11 +0100 Subject: [PATCH] Try workaround against regression with new VisualC++ --- tests/Make-check-cl.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Make-check-cl.bat b/tests/Make-check-cl.bat index c7062e20..60e2bc41 100644 --- a/tests/Make-check-cl.bat +++ b/tests/Make-check-cl.bat @@ -23,8 +23,9 @@ for %%f in (test-*.c) do ( REM Compile the test suite REM /experimental: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. + REM Some issue with wrong (?) reported issues W4002 echo Compiling %%f - cl.exe /I.. /O2 /std:c++14 /Zc:__cplusplus /experimental:preprocessor test.cpp > %%f.log 2>&1 + cl.exe /I.. /O2 /std:c++14 /Zc:__cplusplus /experimental:preprocessor /Wd4002 test.cpp > %%f.log 2>&1 if ERRORLEVEL 1 ( echo *** BUILD ERROR for %%f *** >> %%f.log type %%f.log