[ci] silence compatibility warnings with ancient C/C++

This commit is contained in:
Armin Novak 2023-07-27 20:14:15 +02:00 committed by akallabeth
parent 8ad6fcbb5a
commit 29adfb4d99
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ set (WITH_SWSCALE ON CACHE BOOL "qa default")
set (WITH_DSP_FFMPEG OFF CACHE BOOL "qa default") set (WITH_DSP_FFMPEG OFF CACHE BOOL "qa default")
set (WITH_FFMPEG OFF CACHE BOOL "qa default") set (WITH_FFMPEG OFF CACHE BOOL "qa default")
set (WITH_SANITIZE_ADDRESS ON CACHE BOOL "qa default") set (WITH_SANITIZE_ADDRESS ON CACHE BOOL "qa default")
set (CMAKE_C_FLAGS "-Weverything" CACHE STRING "qa default") set (CMAKE_C_FLAGS "-Weverything -Wno-covered-switch-default -Wno-declaration-after-statement" CACHE STRING "qa default")
set (CMAKE_CXX_FLAGS "-Weverything" CACHE STRING "qa default") set (CMAKE_CXX_FLAGS "-Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-covered-switch-default -Wno-declaration-after-statement" CACHE STRING "qa default")
set (CMAKE_C_COMPILER "/usr/bin/clang-10" CACHE STRING "qa default") set (CMAKE_C_COMPILER "/usr/bin/clang-10" CACHE STRING "qa default")
set (CMAKE_CXX_COMPILER "/usr/bin/clang++-10" CACHE STRING "qa default") set (CMAKE_CXX_COMPILER "/usr/bin/clang++-10" CACHE STRING "qa default")