* add -Wno-maybe-initialized GCC flag to makefile_swig closes #1012

* install diffutils on centos 8 image
This commit is contained in:
Scott Fennell 2020-06-30 14:13:43 -05:00 committed by GitHub
parent 69b0b09045
commit 3615fa47b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ jobs:
dnf install -y 'dnf-command(config-manager)' &&
dnf config-manager --enable PowerTools
tag_deps: >-
python3-devel
python3-devel diffutils
#-------- Job definition ----------------
runs-on: ubuntu-18.04
container: docker://${{matrix.cfg.os}}:${{matrix.cfg.tag}}

View File

@ -146,7 +146,7 @@ sub write_makefile_swig() {
ifeq (\$(IS_CC_CLANG), 1)
TRICK_SYSTEM_SWIG_CFLAGS += -Wno-self-assign -Wno-sometimes-uninitialized -Wno-deprecated-register
else
TRICK_SYSTEM_SWIG_CFLAGS += -Wno-unused-but-set-variable
TRICK_SYSTEM_SWIG_CFLAGS += -Wno-unused-but-set-variable -Wno-maybe-uninitialized
ifeq (\$(shell test \$(GCC_MAJOR) -ge 8; echo \$\$?), 0)
TRICK_SYSTEM_SWIG_CFLAGS += -Wno-cast-function-type
endif