Disable uninitialised warnings for MSYS/MinGW CI build

pull/403/head
Jonathan G Rennison 2 years ago
parent 0ed30d0200
commit 13557d868a

@ -377,7 +377,7 @@ jobs:
cd build
echo "::group::CMake"
cmake .. -G"MSYS Makefiles"
cmake .. -DOPTION_NO_WARN_UNINIT=1 -G"MSYS Makefiles"
echo "::endgroup::"
echo "::group::Build"

@ -158,6 +158,10 @@ macro(compile_flags)
endif()
endif()
endif()
if (OPTION_NO_WARN_UNINIT)
add_compile_options(-Wno-maybe-uninitialized -Wno-uninitialized)
endif (OPTION_NO_WARN_UNINIT)
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
add_compile_options(
-Wall

Loading…
Cancel
Save