From 87d0af5e97f9d6208107cc4f5b1589430b4cd9db Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 23 Jan 2026 18:57:47 +0100 Subject: When building in jenkins; Ignore may-unused warnings on linux/gcc due to overeager static analyzer. --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index aad3052..3e04aeb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -32,11 +32,11 @@ pipeline { echo 'Cleaning workspace ...' sh 'git clean -d -x -f' echo 'Building (gcc) ...' - sh 'CXXFLAGS=-Werror CXX=g++ ./bootstrap.sh' + sh 'CXXFLAGS="-Werror -Wno-maybe-uninitialized" CXX=g++ ./bootstrap.sh' echo 'Testing (gcc) ...' sh './ctor check' echo 'Testing suite (gcc) ...' - sh '(cd test/suite; g++ -std=c++20 test.cc -o test && CTORDIR=../../build CXXFLAGS=-Werror CXX=g++ ./test)' + sh '(cd test/suite; g++ -std=c++20 test.cc -o test && CTORDIR=../../build CXXFLAGS="-Werror -Wno-maybe-uninitialized" CXX=g++ ./test)' } post { always { -- cgit v1.2.3