diff options
| author | Bent Bisballe Nyeng <deva@aasimon.org> | 2026-01-23 18:57:47 +0100 |
|---|---|---|
| committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2026-01-23 18:57:47 +0100 |
| commit | 87d0af5e97f9d6208107cc4f5b1589430b4cd9db (patch) | |
| tree | 2d81f944d5d82d12fa00abce2cb93ee43ce87eb9 | |
| parent | 13b8ea3b4dc6b63f4b77fc0e6f254a2ce9ca7389 (diff) | |
When building in jenkins; Ignore may-unused warnings on linux/gcc due to overeager static analyzer.
| -rw-r--r-- | Jenkinsfile | 4 |
1 files 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 { |
