From 3615fa47b5f371da6737b82461e9d3744d67630b Mon Sep 17 00:00:00 2001 From: Scott Fennell Date: Tue, 30 Jun 2020 14:13:43 -0500 Subject: [PATCH] Iss #1012 (#1013) * add -Wno-maybe-initialized GCC flag to makefile_swig closes #1012 * install diffutils on centos 8 image --- .github/workflows/test.yml | 2 +- libexec/trick/make_makefile_swig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6f182c20..aeee9a0f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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}} diff --git a/libexec/trick/make_makefile_swig b/libexec/trick/make_makefile_swig index 69a58ecb..474894e9 100755 --- a/libexec/trick/make_makefile_swig +++ b/libexec/trick/make_makefile_swig @@ -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