From 7db7d89fd0a055a2b538e6304f869a15079bf372 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Wed, 2 Aug 2023 09:39:02 +0200 Subject: [PATCH] ubuntu-22.04: don't ignore warnings anymore We permanently accept C++17-isms that cause warnings (or, on Clang, sometimes hard errors) in C++20 builds, because this configuration (unlike the MSVC C++20 build) disables -Werror. Enable -Werror for dev C++20 Linux builds, at least, going forward. Change-Id: I2334f87e7c88f263af89bdd029bdf469f242d297 Reviewed-by: Volker Hilsheimer Reviewed-by: Allan Sandfeld Jensen --- coin/platform_configs/cmake_platforms.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coin/platform_configs/cmake_platforms.yaml b/coin/platform_configs/cmake_platforms.yaml index f553611e..20e6ae80 100644 --- a/coin/platform_configs/cmake_platforms.yaml +++ b/coin/platform_configs/cmake_platforms.yaml @@ -13,7 +13,7 @@ Configurations: Template: 'qtci-linux-Ubuntu-22.04-x86_64-51' Compiler: 'GCC' Features: ['Sccache', 'Documentation', 'UseConfigure', 'DoNotRunTests'] - Configure arguments: '-make examples -developer-build -c++std c++20 -linker gold -no-warnings-are-errors -qtlibinfix TestInfix -qtnamespace TestNamespace' + Configure arguments: '-make examples -developer-build -c++std c++20 -linker gold -qtlibinfix TestInfix -qtnamespace TestNamespace' Environment variables: ['NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'] - Id: 'ubuntu-22.04'