From af152fe54a407b65c388b32960603a24035d31e2 Mon Sep 17 00:00:00 2001 From: Paul Hollinsky Date: Tue, 22 Feb 2022 10:37:37 -0500 Subject: [PATCH] CI: Also set warnings as errors in C code --- ci/build-windows.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/build-windows.bat b/ci/build-windows.bat index 8532140..5451d07 100644 --- a/ci/build-windows.bat +++ b/ci/build-windows.bat @@ -4,6 +4,7 @@ mkdir build REM build cd build +set CFLAGS=/WX set CXXFLAGS=/WX cmake -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIBICSNEO_BUILD_TESTS=ON .. if %errorlevel% neq 0 exit /b %errorlevel%