From d93d82d2a9ecc59066e941bf3eeb490f45ab5aaa0a67de5ebc3ffcd1e03bb2ba Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Wed, 1 Jul 2020 23:18:59 +0000 Subject: [PATCH] Accepting request 817954 from home:badshah400:branches:science * Pass "-Wno-enum-conversion" to CFLAGS to workaround build errors because XLAL_ERROR implictly converts to different function return types. OBS-URL: https://build.opensuse.org/request/show/817954 OBS-URL: https://build.opensuse.org/package/show/science/lalapps?expand=0&rev=2 --- lalapps.changes | 7 +++++++ lalapps.spec | 3 +++ 2 files changed, 10 insertions(+) diff --git a/lalapps.changes b/lalapps.changes index 9e8c488..20ecb00 100644 --- a/lalapps.changes +++ b/lalapps.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Jul 1 01:21:52 UTC 2020 - Atri Bhattacharya + +- Pass "-Wno-enum-conversion" to CFLAGS to workaround build errors + because XLAL_ERROR implictly converts to different function + return types. + ------------------------------------------------------------------- Wed May 27 22:34:40 UTC 2020 - Atri Bhattacharya diff --git a/lalapps.spec b/lalapps.spec index 0f0e3e1..dbac397 100644 --- a/lalapps.spec +++ b/lalapps.spec @@ -89,6 +89,9 @@ export PYTHON=%{_bindir}/$python mkdir ../$python cp -pr ./ ../$python pushd ../$python +# FIXME: Failures because XLAL_ERROR implictly converts to function return type +export CFLAGS+=" -Wno-enum-conversion" +%configure \ %configure --enable-swig make %{?_smp_mflags} popd